[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190305.125851.1374307414598203001.davem@davemloft.net>
Date: Tue, 05 Mar 2019 12:58:51 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: wenxu@...oud.cn
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2] net/sched: act_tunnel_key: Fix double free
dst_cache
From: wenxu@...oud.cn
Date: Tue, 5 Mar 2019 08:29:28 +0800
> From: wenxu <wenxu@...oud.cn>
>
> dst_cache_destroy will be called in dst_release
>
> dst_release-->dst_destroy_rcu-->dst_destroy-->metadata_dst_free
> -->dst_cache_destroy
>
> It should not call dst_cache_destroy before dst_release
>
> Fixes: 41411e2fd6b8 ("net/sched: act_tunnel_key: Add dst_cache support")
> Signed-off-by: wenxu <wenxu@...oud.cn>
Applied, thank you.
Powered by blists - more mailing lists