]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV4] ROUTE: Clean up proc files creation.
authorPavel Emelyanov <xemul@openvz.org>
Thu, 6 Dec 2007 05:14:28 +0000 (21:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:36 +0000 (14:56 -0800)
commit4b604a396efe1b5fd033254c150a4b15c9e29589
treed5cc806a1f71471b8dbe67a4a107ed840f757ad2
parent2865dc491cb57cc49cad5639bc1970e026befa71
[IPV4] ROUTE: Clean up proc files creation.

The rt_cache, stats/rt_cache and rt_acct(optional) files
creation looks a bit messy. Clean this out and join them
to other proc-related functions under the proper ifdef.

The struct net * argument in a new function will help net
namespaces patches look nicer.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c