]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 28 Jun 2015 17:39:22 +0000 (13:39 -0400)
commit8c8e709d1b1b76b2dcd54b47fe087fd5e622ea3b
treeeebcb6644d9c9853a015724221532696db7b897b
parenta8371616145ec2798825a1a3053f9b7c07e42064
vti6: fix uninit when using x-netns

[ Upstream commit 092a29a40bab8bb4530bb3e58a0597001cdecdef ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
net/ipv6/ip6_vti.c