Re: [ovs-dev] [PATCH net v2 2/2] openvswitch: restore OVS_FLOW_CMD_NEW notifications

2014-09-19 Thread David Miller
From: Nicolas Dichtel nicolas.dich...@6wind.com Date: Thu, 18 Sep 2014 10:31:04 +0200 From: Samuel Gauthier samuel.gauth...@6wind.com 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.

[ovs-dev] [PATCH net v2 2/2] openvswitch: restore OVS_FLOW_CMD_NEW notifications

2014-09-18 Thread Nicolas Dichtel
From: Samuel Gauthier samuel.gauth...@6wind.com 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

Re: [ovs-dev] [PATCH net v2 2/2] openvswitch: restore OVS_FLOW_CMD_NEW notifications

2014-09-18 Thread Pravin Shelar
On Thu, Sep 18, 2014 at 1:31 AM, Nicolas Dichtel nicolas.dich...@6wind.com wrote: From: Samuel Gauthier samuel.gauth...@6wind.com 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