https://github.com/torvalds/linux
Revision f8403a2e47afb37bcd3b7e286996d138a116c39d authored by Johannes Berg on 22 December 2014, 17:56:36 UTC, committed by David S. Miller on 27 December 2014, 07:20:23 UTC
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>
1 parent 02c81ab
History
Tip revision: f8403a2e47afb37bcd3b7e286996d138a116c39d authored by Johannes Berg on 22 December 2014, 17:56:36 UTC
genetlink: pass only network namespace to genl_has_listeners()
Tip revision: f8403a2
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 291.5 KB
Makefile -rw-r--r-- 53.2 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top