]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: restore OVS_FLOW_CMD_NEW notifications
authorSamuel Gauthier <samuel.gauthier@6wind.com>
Thu, 18 Sep 2014 08:31:04 +0000 (10:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2014 21:28:26 +0000 (17:28 -0400)
commit2bb6adf03dd3c2dbf11981d35c732a002d1ad47a
tree1e93687e68ec6d8b7ba8bd07486524365fea631a
parent0785c82593ace00592f6b44e28b97394372190fd
openvswitch: restore OVS_FLOW_CMD_NEW notifications

Since commit 05a5cbe42ed0 ("openvswitch: Build flow cmd netlink reply only if needed."),
the new flows are not notified to the listeners of OVS_FLOW_MCGROUP.

This commit fixes the problem by using the genl function, ie
genl_has_listerners() instead of netlink_has_listeners().

Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.c