[ovs-git] [openvswitch/ovs] 7229bc: conntrack: Fix conntrack new state

Yi-Hung Wei noreply at github.com
Wed Jan 29 18:56:38 UTC 2020


  Branch: refs/heads/branch-2.13
  Home:   https://github.com/openvswitch/ovs
  Commit: 7229bc05032c568f8ffd276b7dcc4527f91bd049
      https://github.com/openvswitch/ovs/commit/7229bc05032c568f8ffd276b7dcc4527f91bd049
  Author: Yi-Hung Wei <yihung.wei at gmail.com>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M lib/conntrack-other.c
    M lib/conntrack-private.h
    M lib/conntrack-tcp.c
    M lib/conntrack.c
    M tests/system-traffic.at

  Log Message:
  -----------
  conntrack: Fix conntrack new state

In connection tracking system, a connection is established if we
see packets from both directions.  However, in userspace datapath's
conntrack, if we send a connection setup packet in one direction
twice, it will make the connection to be in established state.

This patch fixes the aforementioned issue, and adds a system traffic
test for UDP and TCP traffic to avoid regression.

Fixes: a489b16854b59 ("conntrack: New userspace connection tracker.")
Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Signed-off-by: William Tu <u9012063 at gmail.com>




More information about the git mailing list