diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2007-12-02 00:58:37 +1100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:55:38 -0800 |
commit | f52295a9c55ccb4d9b3580ce889f958ac740a44b (patch) | |
tree | c78f96914eba466c30172a7d02b7af9943e10d89 /fs/fat/file.c | |
parent | bfada697bd534d2c16fd07fbef3a4924c4d4e014 (diff) |
[IPV6]: Unify and cleanup calls to addrconf_sysctl_register
Currently this call is (ab)used similar to devinet one - it
registers sysctls for devices and for the "default" confs, while
the "all" sysctls are registered separately. But unlike its
devinet brother, the passed inet6_device is needed.
The fix is to make a __addrconf_sysctl_register(), which registers
sysctls for all "devices" we need, including "default" and "all" :)
The original addrconf_sysctl_register() calls the introduced
function, passing the inet6_device, device name and ifindex (to
be used as procname and ctl_name) into it.
Thanks to Herbert again for pointing out, that we can shrink the
argument list to 1 :)
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 'fs/fat/file.c')
0 files changed, 0 insertions, 0 deletions