diff options
| author | Eric W. Biederman <[email protected]> | 2012-04-19 13:20:32 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-04-21 01:21:16 +0000 |
| commit | 2ca794e5e86c800d7f98c4ebb8bd325099c0afe8 (patch) | |
| tree | f0ae38f58dec5a07ae57e31aca4943c85ffe9d65 /net/unix/sysctl_net_unix.c | |
| parent | net sysctl: Register an empty /proc/sys/net (diff) | |
| download | kernel-2ca794e5e86c800d7f98c4ebb8bd325099c0afe8.tar.gz kernel-2ca794e5e86c800d7f98c4ebb8bd325099c0afe8.zip | |
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 <[email protected]>
Acked-by: Pavel Emelyanov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
