[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151118.162607.1152602905195888144.davem@davemloft.net>
Date: Wed, 18 Nov 2015 16:26:07 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, kafai@...com
Subject: Re: [PATCH net] net/ip6_tunnel: fix dst leak
From: Paolo Abeni <pabeni@...hat.com>
Date: Wed, 18 Nov 2015 16:40:19 +0100
> 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@...hat.com>
Applied and queued up for -stable, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists