]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit9b67aa4a82492f128adfccc63e61ab57c1ce1dfd
tree1e93687e68ec6d8b7ba8bd07486524365fea631a
parent0d566379c5e15a2922dc6bb2ee6a4b7f7a3a0786
openvswitch: restore OVS_FLOW_CMD_NEW notifications

Since commit fb5d1e9e127a ("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