]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipt_CLUSTERIP: put config struct if we can't increment ct refcount
authorFlorian Westphal <fw@strlen.de>
Fri, 16 Feb 2018 11:49:32 +0000 (12:49 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 25 Feb 2018 19:02:49 +0000 (20:02 +0100)
commit8ae56822812ddedc26a152ab1916eb30120b4748
tree2c8b321ee2a5af3df3553a0206e2b0c485c66fd5
parent9cb9c07d6b0c5fd97d83b8ab14d7e308ba4b612f
netfilter: ipt_CLUSTERIP: put config struct if we can't increment ct refcount

This needs to put() the entry to avoid a resource leak in error path.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/ipt_CLUSTERIP.c