diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2005-09-05 18:14:11 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-09-05 18:14:11 -0700 |
commit | 6baf1f417d092bd2de7c8892cecad456024c993f (patch) | |
tree | c4af445058eca6f68186286651a0622abd0611f6 /include/net | |
parent | aa07ca5793414ce257ad98809147bd1dbb7a3837 (diff) | |
download | op-kernel-dev-6baf1f417d092bd2de7c8892cecad456024c993f.zip op-kernel-dev-6baf1f417d092bd2de7c8892cecad456024c993f.tar.gz |
[NET]: Do not protect sysctl_optmem_max with CONFIG_SYSCTL
The ipv4 and ipv6 protocols need to access it unconditionally.
SYSCTL=n build failure reported by Russell King.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/sock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index cf62826..8c48fbe 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -1377,9 +1377,10 @@ extern void sk_init(void); #ifdef CONFIG_SYSCTL extern struct ctl_table core_table[]; -extern int sysctl_optmem_max; #endif +extern int sysctl_optmem_max; + extern __u32 sysctl_wmem_default; extern __u32 sysctl_rmem_default; |