From: Pavel Emelyanov Date: Sat, 1 Dec 2007 13:58:37 +0000 (+1100) Subject: [IPV6]: Unify and cleanup calls to addrconf_sysctl_register X-Git-Tag: v2.6.25-rc1~1162^2~1288 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f52295a9c55ccb4d9b3580ce889f958ac740a44b;p=pandora-kernel.git [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 Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed