Commit 0ca7a4c8 authored by Committed by David S. Miller
net ax25: Simplify and cleanup the ax25 sysctl handling.
Don't register/unregister every ax25 table in a batch. Instead register and unregister per device ax25 sysctls as ax25 devices come and go. This moves ax25 to be a completely modern sysctl user. Registering the sysctls in just the initial network namespace, removing the use of .child entries that are no longer natively supported by the sysctl core and taking advantage of the fact that there are no longer any ordering constraints between registering and unregistering different sysctl tables. Signed-off-by: Eric W. Biederman <email@example.com> Acked-by: Pavel Emelyanov <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
Showing with 35 additions and 69 deletions