commit | 4177c5d94264b57f426ef5c45a788808d1a1e536 | [log] [tgz] |
---|---|---|
author | wenxu <wenxu@ucloud.cn> | Tue Mar 05 08:29:28 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 05 12:57:28 2019 -0800 |
tree | 5697827c558a8752762be67a4934be5d2345a07e | |
parent | 0e63208915a8d7590d0a6218dadb2a6a00ac705a [diff] |
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>