]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
netfilter: xt_hashlimit: fix namespace destroy path
authorVitaly E. Lavrov <lve@guap.ru>
Mon, 24 Dec 2012 13:42:17 +0000 (14:42 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 26 Dec 2012 17:14:48 +0000 (18:14 +0100)
commit32263dd1b43378b4f7d7796ed713f77e95f27e8a
treed730ddc702dcee5ac6888b4b548f970ec68cb1bc
parent665e205c16c1f902ac6763b8ce8a0a3a1dcefe59
netfilter: xt_hashlimit: fix namespace destroy path

recent_net_exit() is called before recent_mt_destroy() in the
destroy path of network namespaces. Make sure there are no entries
in the parent proc entry xt_recent before removing it.

Signed-off-by: Vitaly E. Lavrov <lve@guap.ru>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_hashlimit.c