]> git.karo-electronics.de Git - linux-beck.git/commit
vti6: fix uninit when using x-netns
authorYao Xiwei <xiwei.yao@6wind.com>
Thu, 2 Apr 2015 15:31:17 +0000 (17:31 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 7 Apr 2015 05:52:28 +0000 (07:52 +0200)
commit092a29a40bab8bb4530bb3e58a0597001cdecdef
tree0f2fc79d557ce4de947bd5e5ce8447128514ea24
parent68c11e98ef6748ddb63865799b12fc45abb3755d
vti6: fix uninit when using x-netns

When the kernel deleted a vti6 interface, this interface was not removed from
the tunnels list. Thus, when the ip6_vti module was removed, this old interface
was found and the kernel tried to delete it again. This was leading to a kernel
panic.

Fixes: 61220ab34948 ("vti6: Enable namespace changing")
Signed-off-by: Yao Xiwei <xiwei.yao@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv6/ip6_vti.c