summary refs log tree commit diff
path: root/lib/scatterlist.c
diff options
context:
space:
mode:
authorwenxu <wenxu@ucloud.cn>2019-03-05 08:29:28 +0800
committerDavid S. Miller <davem@davemloft.net>2019-03-05 12:57:28 -0800
commit4177c5d94264b57f426ef5c45a788808d1a1e536 (patch)
tree5697827c558a8752762be67a4934be5d2345a07e /lib/scatterlist.c
parent0e63208915a8d7590d0a6218dadb2a6a00ac705a (diff)
downloadlinux-4177c5d94264b57f426ef5c45a788808d1a1e536.tar.gz
net/sched: act_tunnel_key: Fix double free dst_cache
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@ucloud.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/scatterlist.c')
0 files changed, 0 insertions, 0 deletions