[ovs-git] [openvswitch/ovs] d7fd61: tests: Add check for correct l3l4 conntrack frag r...

gvrose8192 noreply at github.com
Thu Oct 3 18:07:16 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: d7fd61ae33a0b2b0cc44d250b7881be427989cb0
      https://github.com/openvswitch/ovs/commit/d7fd61ae33a0b2b0cc44d250b7881be427989cb0
  Author: Greg Rose <gvrose8192 at gmail.com>
  Date:   2019-10-03 (Thu, 03 Oct 2019)

  Changed paths:
    M tests/system-traffic.at

  Log Message:
  -----------
  tests: Add check for correct l3l4 conntrack frag reassembly

Two commits recently fixed an issue with setting the corrrect l3 and l4
flow information when conntrack reassembles packet fragments.

c98f776 datapath: Clear the L4 portion of the key for "later" fragments
2609173 datapath: Properly set L4 keys on "later" IP fragments

This test checks for regressions that might break this feature.  It
counts on the fact that when the bug is present the udp src port
will not be correct.  It will either be zero or else some other
garbage value.  So the test feeds some fragments through for
reassembly and then checks to make sure that the udp srce port
is actually the correct value of 5001.

Tested by reverting the above commits and observing that the test
then fails.

Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list