[NETNS]: Clean out the ipv6-related sysctls creation/destruction
authorPavel Emelyanov <xemul@openvz.org>
Fri, 11 Jan 2008 01:41:21 +0000 (17:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:38 +0000 (15:01 -0800)
commit408c4768cd0843f43a13a442c76215dd9cadf23d
treea156f4e7d0bcfda14e5aadc9eaadfbf6e2e5d7e7
parent4250846146c04ac6f17bf92619ddfef6db2cf34f
[NETNS]: Clean out the ipv6-related sysctls creation/destruction

The addrconf sysctls and neigh sysctls are registered and
unregistered always in pairs, so they can be joined into
one (well, two) functions, that accept the struct inet6_dev
and do all the job.

This also get rids of unneeded ifdefs inside the code.

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