https://github.com/torvalds/linux
Revision 485ac57bc1238719b1508f91b0f9eeda4a3c84bb authored by Alexey Dobriyan on 31 October 2008, 06:55:16 UTC, committed by David S. Miller on 31 October 2008, 06:55:16 UTC
netns ops which are registered with register_pernet_gen_device() are
shutdown strictly before those which are registered with
register_pernet_subsys(). Sometimes this leads to opposite (read: buggy)
shutdown ordering between two modules.

Add register_pernet_gen_subsys()/unregister_pernet_gen_subsys() for modules
which aren't elite enough for entry in struct net, and which can't use
register_pernet_gen_device(). PPTP conntracking module is such one.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ad1d967
History
Tip revision: 485ac57bc1238719b1508f91b0f9eeda4a3c84bb authored by Alexey Dobriyan on 31 October 2008, 06:55:16 UTC
netns: add register_pernet_gen_subsys/unregister_pernet_gen_subsys
Tip revision: 485ac57
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.8 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.0 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 102.5 KB
Makefile -rw-r--r-- 55.9 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top