commit | 12c26df35eae52f14cf573a1adb85cedaa273d2b | [log] [tgz] |
---|---|---|
author | Gao feng <gaofeng@cn.fujitsu.com> | Thu Jun 21 04:36:42 2012 +0000 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Jun 27 18:55:22 2012 +0200 |
tree | c5a75e79d0bd95de70d1db4f5c8a4c3a5f6a73b8 | |
parent | fa34fff5e69cc56eecf26754c9b57403899ebd0d [diff] |
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>