summaryrefslogtreecommitdiff
path: root/net/ipv4/ip_sockglue.c
diff options
context:
space:
mode:
authorGao feng <gaofeng@cn.fujitsu.com>2012-06-21 04:36:42 (GMT)
committerPablo Neira Ayuso <pablo@netfilter.org>2012-06-27 16:55:22 (GMT)
commit12c26df35eae52f14cf573a1adb85cedaa273d2b (patch)
treec5a75e79d0bd95de70d1db4f5c8a4c3a5f6a73b8 /net/ipv4/ip_sockglue.c
parentfa34fff5e69cc56eecf26754c9b57403899ebd0d (diff)
downloadlinux-fsl-qoriq-12c26df35eae52f14cf573a1adb85cedaa273d2b.tar.xz
netfilter: nf_conntrack: fix memory leak if sysctl registration fails
In nf_ct_l4proto_register_sysctl, if l4proto sysctl registration fails, we have to make sure that we release the compat sysctl table. This can happen if TCP has been registered compat for IPv4, and IPv6 compat registration fails. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/ip_sockglue.c')
0 files changed, 0 insertions, 0 deletions