diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-30 23:55:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-30 23:55:44 -0700 |
commit | 61e5744849cb936bf4361181b8f9ebccebf4d9db (patch) | |
tree | ede29906dfefdce4f1ad4f07fc18f1276cad62bd /net/802/psnap.c | |
parent | 485ac57bc1238719b1508f91b0f9eeda4a3c84bb (diff) |
netfilter: nf_conntrack_proto_gre: switch to register_pernet_gen_subsys()
register_pernet_gen_device() can't be used is nf_conntrack_pptp module is
also used (compiled in or loaded).
Right now, proto_gre_net_exit() is called before nf_conntrack_pptp_net_exit().
The former shutdowns and frees GRE piece of netns, however the latter
absolutely needs it to flush keymap. Oops is inevitable.
Switch to shiny new register_pernet_gen_subsys() to get correct ordering in
netns ops list.
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>
Diffstat (limited to 'net/802/psnap.c')
0 files changed, 0 insertions, 0 deletions