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

2014-09-19 Thread David Miller
From: Nicolas Dichtel Date: Thu, 18 Sep 2014 10:31:04 +0200 > From: Samuel Gauthier > > 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

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 wrote: > From: Samuel Gauthier > > 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 gen

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

2014-09-18 Thread Nicolas Dichtel
From: Samuel Gauthier 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