]> err.no Git - linux-2.6/commit
[NETFILTER]: nf_conntrack: less hairy ifdefs around proc and sysctl
authorAlexey Dobriyan <adobriyan@sw.ru>
Thu, 20 Mar 2008 14:15:43 +0000 (15:15 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 07:56:01 +0000 (09:56 +0200)
commitb916f7d4b7b4b427ad9a9486de3da41a16b24d67
tree165543933f74602f21582580d595927d1a36fbb7
parentf5572855ec492334d8c3ec0e0e86c31865d5cf07
[NETFILTER]: nf_conntrack: less hairy ifdefs around proc and sysctl

Patch splits creation of /proc/net/nf_conntrack, /proc/net/stat/nf_conntrack
and net.netfilter hierarchy into their own functions with dummy ones
if PROC_FS or SYSCTL is not set. Also, remove dead "ret = 0" write
while I'm at it.

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_standalone.c