Paolo Abeni 206b49500d net/ip6_tunnel: fix dst leak
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.

Fixes: cdf3464e6c6b ("ipv6: Fix dst_entry refcnt bugs in ip6_tunnel")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-18 16:25:01 -05:00
..
2015-11-02 22:47:14 -05:00
2015-08-25 13:37:31 -07:00
2015-05-28 11:23:20 +08:00
2015-10-08 04:27:03 -07:00
2015-05-03 21:58:01 -04:00
2015-09-17 17:18:37 -07:00
2015-10-21 19:36:11 -07:00
2015-11-18 16:25:01 -05:00
2015-10-13 04:55:08 -07:00
2015-11-02 22:47:14 -05:00
2015-11-02 22:54:45 -05:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00
2014-05-23 16:28:53 -04:00