netfilter: nf_conntrack: fix sysctl memory leak
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 14 Mar 2011 18:20:44 +0000 (19:20 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Mar 2011 18:20:44 +0000 (19:20 +0100)
commitfe8f661f2c2bb058822f13f6f232e121bde1338f
tree8843d8216022cddb23bc3de47e87e5e4d139a2d4
parent42046e2e45c109ba703993c510401a11f716c8df
netfilter: nf_conntrack: fix sysctl memory leak

Message in log because sysctl table was not empty at netns exit
 WARNING: at net/sysctl_net.c:84 sysctl_net_exit+0x2a/0x2c()

Instrumenting showed that the nf_conntrack_timestamp was the entry
that was being created but not cleared.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_core.c