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

Ilya Maximets noreply at github.com
Wed Sep 15 20:59:57 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: ebcbb534e192b47ce90ea5348843076eaa6a6842
      https://github.com/openvswitch/ovs/commit/ebcbb534e192b47ce90ea5348843076eaa6a6842
  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