datapath: Account for "genetlink: pass only network namespace to genl_has_listeners()"
authorThomas Graf <tgraf@noironetworks.com>
Tue, 3 Feb 2015 20:53:36 +0000 (21:53 +0100)
committerThomas Graf <tgraf@noironetworks.com>
Tue, 3 Feb 2015 21:31:20 +0000 (22:31 +0100)
commit6233a1bdf17e30800c9734374f1aa36ff7214f7e
tree5c5930d96f87e26fcd5e86521c3964634ea93e27
parentec959cdcb9f7e1e534ffafaed85790fec8b279ca
datapath: Account for "genetlink: pass only network namespace to genl_has_listeners()"

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@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Upstream: f8403a2 ("genetlink: pass only network namespace to genl_has_listeners()")
Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
acinclude.m4
datapath/datapath.c
datapath/linux/compat/include/net/genetlink.h