]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit107f163428b846d7cef68cb6f436788bb2f6c2e1
treed5cc806a1f71471b8dbe67a4a107ed840f757ad2
parent78c686e9faff05f1194e892d5b1273ce24021ff6
[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