diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-12-11 02:17:40 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:57:09 -0800 |
commit | 51602b2a5e849babd94311e555bf1ba58151b8d4 (patch) | |
tree | 5082a8d99c8b9a83f1b0b491ceda9b9c315b1700 /include/net | |
parent | 01ecfe9ba63aa0f23bbdb15371916ba4d5382330 (diff) |
[IPV4]: Cleanup sysctl manipulations in devinet.c
This includes:
* moving neigh_sysctl_(un)register calls inside
devinet_sysctl_(un)register ones, as they are always
called in pairs;
* making __devinet_sysctl_unregister() to unregister
the ipv4_devconf struct, while original devinet_sysctl_unregister()
works with the in_device to handle both - devconf and
neigh sysctls;
* make stubs for CONFIG_SYSCTL=n case to get rid of
in-code ifdefs.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions