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)
commit636dba8e12d797357b2063981476390f11262c08
tree814c6863e9f7d608591b20f13ed7634da8d46ed5
parent3576fd794b38306e196498ac54bb3b21c32e1ae4
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