Files
linux/net/ipv6
Nicolas Dichtel 22c3ec552c ip6tnl: fix use after free of fb_tnl_dev
The upstream commit bb8140947a ("ip6tnl: allow to use rtnl ops on fb tunnel")
(backported into linux-3.10.y) left a bug which was fixed upstream by commit
1e9f3d6f1c ("ip6tnl: fix use after free of fb_tnl_dev").

The problem is a bit different in linux-3.10.y, because there is no x-netns
support (upstream commit 0bd8762824 ("ip6tnl: add x-netns support")).
When ip6_tunnel.ko is unloaded, FB device is deleted by rtnl_link_unregister()
and then we try to delete it again in ip6_tnl_destroy_tunnels().

This patch removes the second deletion.

Reported-by: Steven Rostedt <rostedt@goodmis.org>
Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-12-20 07:45:11 -08:00
..
2013-03-26 12:27:18 -04:00
2013-02-15 15:10:37 -05:00
2012-11-03 14:59:05 -04:00
2013-03-26 12:27:19 -04:00
2012-09-25 16:04:44 -04:00
2013-05-31 16:26:49 -07:00
2013-10-13 16:08:30 -07:00
2013-03-17 14:35:13 -04:00
2013-05-11 16:26:38 -07:00
2013-05-11 16:26:38 -07:00
2012-11-01 12:41:35 -04:00