]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: nf_conntrack: fix incorrect logic in nf_conntrack_init_net
authorGao feng <gaofeng@cn.fujitsu.com>
Sat, 7 Apr 2012 16:08:28 +0000 (16:08 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 10 Apr 2012 11:00:38 +0000 (13:00 +0200)
commit6ba900676bec8baaf61aa2f85b7345c0e65774d9
tree7074065c1308041ec4d4a99f51dda2290aed9bca
parent07153c6ec074257ade76a461429b567cff2b3a1e
netfilter: nf_conntrack: fix incorrect logic in nf_conntrack_init_net

in function nf_conntrack_init_net,when nf_conntrack_timeout_init falied,
we should call nf_conntrack_ecache_fini to do rollback.
but the current code calls nf_conntrack_timeout_fini.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_core.c