tunnels: fix netns vs proto registration ordering
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 16 Feb 2010 09:05:04 +0000 (09:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2010 22:55:25 +0000 (14:55 -0800)
commitd5aa407f59f5b83d2c50ec88f5bf56d40f1f8978
tree664c30873708f0e361e5250835238043200f4b50
parentc2892f02712e9516d72841d5c019ed6916329794
tunnels: fix netns vs proto registration ordering

Same stuff as in ip_gre patch: receive hook can be called before netns
setup is done, oopsing in net_generic().

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipip.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c
net/ipv6/xfrm6_tunnel.c