commit | 2ca794e5e86c800d7f98c4ebb8bd325099c0afe8 | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Thu Apr 19 13:20:32 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 20 21:21:16 2012 -0400 |
tree | f0ae38f58dec5a07ae57e31aca4943c85ffe9d65 | |
parent | bc8a36942a5c05896d373a8e98d5e6b14514b4bc [diff] |
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 <ebiederm@xmission.com> Acked-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>