]> git.baikalelectronics.ru Git - kernel.git/commit
act_mirred: avoid calling tcf_hash_release() when binding
authorWANG Cong <xiyou.wangcong@gmail.com>
Fri, 31 Jul 2015 00:12:20 +0000 (17:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2015 21:13:28 +0000 (14:13 -0700)
commit3e6d8d30d420a4be14d4e53bf4831d7b69b20798
tree814c6863e9f7d608591b20f13ed7634da8d46ed5
parent78b228f23ed8b18f8cd23c0e087efc4539796404
act_mirred: avoid calling tcf_hash_release() when binding

When we share an action within a filter, the bind refcnt
should increase, therefore we should not call tcf_hash_release().

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_mirred.c