[ovs-dev] [PATCH 09/13] datapath: Account for "genetlink: pass only network namespace to genl_has_listeners()"

Pravin Shelar pshelar at nicira.com
Tue Feb 3 18:08:43 UTC 2015


On Fri, Jan 30, 2015 at 6:36 AM, Thomas Graf <tgraf at noironetworks.com> wrote:
> Upstream commit:
>     genetlink: pass only network namespace to genl_has_listeners()
>
>     There's no point to force the caller to know about the internal
>     genl_sock to use inside struct net, just have them pass the network
>     namespace. This doesn't really change code generation since it's
>     an inline, but makes the caller less magic - there's never any
>     reason to pass another socket.
>
>     Signed-off-by: Johannes Berg <johannes.berg at intel.com>
>     Signed-off-by: David S. Miller <davem at davemloft.net>
>
> Upstream: f8403a2 ("genetlink: pass only network namespace to genl_has_listeners()")
> Signed-off-by: Thomas Graf <tgraf at noironetworks.com>

Acked-by: Pravin B Shelar <pshelar at nicira.com>



More information about the dev mailing list