]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: nf_tables: fix leaks in error path of nf_tables_newchain()
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 29 Jan 2015 18:08:09 +0000 (19:08 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 30 Jan 2015 17:42:08 +0000 (18:42 +0100)
commitf5553c19ff9058136e7082c0b1f4268e705ea538
tree2bf96b97b4ceab6f925869359f29eb91b102a3dc
parent579eb62ac35845686a7c4286c0a820b4eb1f96aa
netfilter: nf_tables: fix leaks in error path of nf_tables_newchain()

Release statistics and module refcount on memory allocation problems.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c