diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2010-02-16 07:57:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 14:55:21 -0800 |
commit | c2892f02712e9516d72841d5c019ed6916329794 (patch) | |
tree | f6da925f46344ea4f1e3a7887aca4e62be6ea3ff /net/ipv4/fib_trie.c | |
parent | 749f621e20ab0db35a15ff730088922603c809ba (diff) | |
download | op-kernel-dev-c2892f02712e9516d72841d5c019ed6916329794.zip op-kernel-dev-c2892f02712e9516d72841d5c019ed6916329794.tar.gz |
gre: fix netns vs proto registration ordering
GRE protocol receive hook can be called right after protocol addition is done.
If netns stuff is not yet initialized, we're going to oops in
net_generic().
This is remotely oopsable if ip_gre is compiled as module and packet
comes at unfortunate moment of module loading.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_trie.c')
0 files changed, 0 insertions, 0 deletions