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

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


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