]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
act_ipt: fix a bind refcnt leak
authorWANG Cong <xiyou.wangcong@gmail.com>
Mon, 13 Jun 2016 20:44:14 +0000 (13:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jul 2016 16:30:00 +0000 (09:30 -0700)
commitaae4204718b75dbafe5957a331ce4bc479285eb8
tree3154e5e03dc7f0e862103c876098dce00b876bee
parent6a23e18a677464b3e20fed580893efdfd018f80a
act_ipt: fix a bind refcnt leak

[ Upstream commit d15eccea69b96a5116169688dcc9baf6d1ce2751 ]

And avoid calling tcf_hash_check() twice.

Fixes: a57f19d30b2d ("net sched: ipt action fix late binding")
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sched/act_ipt.c