aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nubus
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-01 08:57:08 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:55:37 -0500
commitbfada697bd534d2c16fd07fbef3a4924c4d4e014 (patch)
treeed62ad7709e70f5ee6286497bb9b975ef8fa7562 /drivers/nubus
parent66f27a52037c89183e83689b0531412577be0101 (diff)
[IPV4]: Use ctl paths to register devinet sysctls
This looks very much like the patch for neighbors. The path is also located on the stack and is prepared inside the function. This time, the call to the registering function is guarded with the RTNL lock, but I decided to keep it on the stack not to litter the devinet.c file with unneeded names and to make it look similar to the neighbors code. This is also intended to help us with the net namespaces and saves the vmlinux size as well - this time by more than 670 bytes. The difference from the first version is just the patch offsets, that changed due to changes in the patch #2. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions