Patch "net/ip6_tunnel: fix dst leak" has been added to the 4.3-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
net/ip6_tunnel: fix dst leak
to the 4.3-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:
net-ip6_tunnel-fix-dst-leak.patch
and it can be found in the queue-4.3 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Fri Dec 11 11:38:06 EST 2015
From: Paolo Abeni <[email protected]>
Date: Wed, 18 Nov 2015 16:40:19 +0100
Subject: net/ip6_tunnel: fix dst leak
From: Paolo Abeni <[email protected]>
[ Upstream commit 206b49500df558dbc15d8836b09f6397ec5ed8bb ]
the commit cdf3464e6c6b ("ipv6: Fix dst_entry refcnt bugs in ip6_tunnel") introduced percpu storage for ip6_tunnel dst cache, but while clearing such cache it used raw_cpu_ptr to walk the per cpu entries, so cached dst on non current cpu are not actually reset.
This patch replaces raw_cpu_ptr with per_cpu_ptr, properly cleaning such storage.
--- net/ipv6/ip6_tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv6/ip6_tunnel.c +1 -1
@@ -177,7 +177,7 @@ void ip6_tnl_dst_reset(struct ip6_tnl *tint i;for_each_possible_cpu (i) -ip6_tnl_per_cpu_dst_set (raw_cpu_ptr (t->dst_cache),NULL ); +ip6_tnl_per_cpu_dst_set (per_cpu_ptr (t->dst_cache, i),NULL ); }EXPORT_SYMBOL_GPL (ip6_tnl_dst_reset);
Patches currently in stable-queue which might be from [email protected] are
queue-4.3/openvswitch-fix-hangup-on-vxlan-gre-geneve-device-deletion.patch queue-4.3/net-ip6_tunnel-fix-dst-leak.patch