]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netfilter: ctnetlink: fix leak in error path of ctnetlink_create_expect
authorJesper Juhl <jj@chaosbits.net>
Wed, 26 Dec 2012 11:49:40 +0000 (11:49 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 00:27:08 +0000 (18:27 -0600)
commitfae56feb6210422096d1886516022a3eedc515c9
treead46ce89a32e2a74286c032a332c56a8ff49566e
parentff89a34cb5b28ed5eb35056fffe4cff380537c3d
netfilter: ctnetlink: fix leak in error path of ctnetlink_create_expect

commit 1310b955c804975651dca6c674ebfd1cb2b4c7ff upstream.

This patch fixes a leak in one of the error paths of
ctnetlink_create_expect if no helper and no timeout is specified.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/nf_conntrack_netlink.c