Commit 2ca794e5 authored by Committed by David S. Miller
net sysctl: Initialize the network sysctls sooner to avoid problems.
If the netfilter code is modified to use register_net_sysctl_table the kernel fails to boot because the per net sysctl infrasturce is not setup soon enough. So to avoid races call net_sysctl_init from sock_init(). Signed-off-by: Eric W. Biederman <firstname.lastname@example.org> Acked-by: Pavel Emelyanov <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Showing with 12 additions and 2 deletions