diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2015-07-31 02:12:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-01 00:22:34 +0200 |
commit | 5175f7106cc55a1bcf97bf7d5ba0900017ebcef8 (patch) | |
tree | 9f3ccc13ff8fb73a9a260d99ea2276f3f43bf09f /drivers | |
parent | net: sk_clone_lock() should only do get_net() if the parent is not a kernel s... (diff) | |
download | linux-5175f7106cc55a1bcf97bf7d5ba0900017ebcef8.tar.xz linux-5175f7106cc55a1bcf97bf7d5ba0900017ebcef8.zip |
act_pedit: check binding before calling tcf_hash_release()
When we share an action within a filter, the bind refcnt
should increase, therefore we should not call tcf_hash_release().
Fixes: 1a29321ed045 ("net_sched: act: Dont increment refcnt on replace")
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Cong Wang <cwang@twopensource.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions