This is a note to let you know that I've just added the patch titled
Revert "ip6tnl: fix use after free of fb_tnl_dev"
to the 3.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
revert-ip6tnl-fix-use-after-free-of-fb_tnl_dev.patch
and it can be found in the queue-3.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From foo@baz Tue Feb 4 09:07:36 PST 2014
From: Nicolas Dichtel <[email protected]>
Date: Fri, 31 Jan 2014 09:24:05 +0100
Subject: Revert "ip6tnl: fix use after free of fb_tnl_dev"
From: Nicolas Dichtel <[email protected]>
[ No relevant upstream commit. ]
This reverts commit 22c3ec552c29cf4bd4a75566088950fe57d860c4.
This patch is not the right fix, it introduces a memory leak when a netns is
destroyed (the FB device is never deleted).
Signed-off-by: Nicolas Dichtel <[email protected]>
Reported-by: Steven Rostedt <[email protected]>
Tested-by: Steven Rostedt <[email protected]> (and our entire MRG team)
Tested-by: "Luis Claudio R. Goncalves" <[email protected]>
Tested-by: John Kacur <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
net/ipv6/ip6_tunnel.c | 2 ++
1 file changed, 2 insertions(+)
--- a/net/ipv6/ip6_tunnel.c
+++ b/net/ipv6/ip6_tunnel.c
@@ -1711,6 +1711,8 @@ static void __net_exit ip6_tnl_destroy_t
}
}
+ t = rtnl_dereference(ip6n->tnls_wc[0]);
+ unregister_netdevice_queue(t->dev, &list);
unregister_netdevice_many(&list);
}
Patches currently in stable-queue which might be from [email protected]
are
queue-3.10/sit-fix-double-free-of-fb_tunnel_dev-on-exit.patch
queue-3.10/ip6tnl-fix-double-free-of-fb_tnl_dev-on-exit.patch
queue-3.10/revert-ip6tnl-fix-use-after-free-of-fb_tnl_dev.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html