[ovs-git] [openvswitch/ovs] ac23d2: conntrack: Fix TCP conntrack state

Yi-Hung Wei noreply at github.com
Tue Feb 18 23:03:18 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: ac23d20fc90da3b1c9b2117d1e22102e99fba006
      https://github.com/openvswitch/ovs/commit/ac23d20fc90da3b1c9b2117d1e22102e99fba006
  Author: Yi-Hung Wei <yihung.wei at gmail.com>
  Date:   2020-02-18 (Tue, 18 Feb 2020)

  Changed paths:
    M lib/conntrack-tcp.c

  Log Message:
  -----------
  conntrack: Fix TCP conntrack state

If a TCP connection is in SYN_SENT state, receiving another SYN packet
would just renew the timeout of that conntrack entry rather than create
a new one.  Thus, tcp_conn_update() should return CT_UPDATE_VALID_NEW.

This also fixes regressions of a couple of  OVN system tests.

Fixes: a867c010ee91 ("conntrack: Fix conntrack new state")
Reported-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Yi-Hung Wei <yihung.wei at gmail.com>
Tested-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: William Tu <u9012063 at gmail.com>




More information about the git mailing list