[ovs-git] [openvswitch/ovs] 81706c: ipf: Fix only nat the first fragment in the reass ...

Ilya Maximets noreply at github.com
Wed Sep 15 21:00:06 UTC 2021


  Branch: refs/heads/branch-2.16
  Home:   https://github.com/openvswitch/ovs
  Commit: 81706c5d43913db259cc9480310aa1a1994655c9
      https://github.com/openvswitch/ovs/commit/81706c5d43913db259cc9480310aa1a1994655c9
  Author: wenxu <wenxu at ucloud.cn>
  Date:   2021-09-15 (Wed, 15 Sep 2021)

  Changed paths:
    M lib/ipf.c
    M tests/system-traffic.at

  Log Message:
  -----------
  ipf: Fix only nat the first fragment in the reass process.

The ipf collect original fragment packets and reass a new pkt
to do the conntrack logic.  After finish the conntrack things
copy the ct meta info to each original packet and modify the
l4 header in the first fragment. It should modify the ip src/dst
info for all the fragments.

Fixes: 4ea96698f667 ("Userspace datapath: Add fragmentation handling.")
Signed-off-by: wenxu <wenxu at ucloud.cn>
Co-authored-by: luke.li <luke.li at ucloud.cn>
Signed-off-by: luke.li <luke.li at ucloud.cn>
Reviewed-by: wangze <wangze712 at gmail.com>
Acked-by: Aaron Conole <aconole at redhat.com>
Acked-by: Paolo Valerio <pvalerio at redhat.com>

Test case:
Co-authored-by: Aaron Conole <aconole at redhat.com>
Signed-off-by: Aaron Conole <aconole at redhat.com>

Signed-off-by: Ilya Maximets <i.maximets at ovn.org>




More information about the git mailing list