openvswitch: Do not trigger events for unconfirmed connections.
authorJarno Rajahalme <jarno@ovn.org>
Thu, 9 Feb 2017 19:21:54 +0000 (11:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 03:59:34 +0000 (22:59 -0500)
commit193e30967897f3a8b6f9f137ac30571d832c2c5c
tree8cdc76d1ee73ffa3c5dd8b5cfbaa9f3a2e33e3f1
parent9ff464db50e437eef131f719cc2e9902eea9c607
openvswitch: Do not trigger events for unconfirmed connections.

Receiving change events before the 'new' event for the connection has
been received can be confusing.  Avoid triggering change events for
setting conntrack mark or labels before the conntrack entry has been
confirmed.

Fixes: 182e3042e15d ("openvswitch: Allow matching on conntrack mark")
Fixes: c2ac66735870 ("openvswitch: Allow matching on conntrack label")
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/conntrack.c