]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47a4e24c28056855aa56c77182b8456e52c6feac
treef3eb28d5928cdf21df39b4ea2d11e5b822b9997e
parentb68999f6840d27ce9fd7028b80ace4788305e675
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: 1fcb746c66c6 ("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