openvswitch: Set event bit after initializing labels.
authorJarno Rajahalme <jarno@ovn.org>
Sat, 18 Feb 2017 02:11:58 +0000 (18:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Feb 2017 15:18:43 +0000 (10:18 -0500)
commit2317c6b51e4249dbfa093e1b88cab0a9f0564b7f
treef3eb28d5928cdf21df39b4ea2d11e5b822b9997e
parent5ed3fea0d6ffcef494b111ade0910a4ff149c331
openvswitch: Set event bit after initializing labels.

Connlabels are included in conntrack netlink event messages only if
the IPCT_LABEL bit is set in the event cache (see
ctnetlink_conntrack_event()).  Set it after initializing labels for a
new connection.

Found upon further system testing, where it was noticed that labels
were missing from the conntrack events.

Fixes: 193e30967897 ("openvswitch: Do not trigger events for unconfirmed connections.")
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/conntrack.c