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 /net/core/sock.c | |
parent | aa07ca5793414ce257ad98809147bd1dbb7a3837 (diff) | |
download | lwn-6baf1f417d092bd2de7c8892cecad456024c993f.tar.gz lwn-6baf1f417d092bd2de7c8892cecad456024c993f.zip |
[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 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index ccd10fd65682..c13594579bfb 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -1719,8 +1719,8 @@ EXPORT_SYMBOL(sock_wfree); EXPORT_SYMBOL(sock_wmalloc); EXPORT_SYMBOL(sock_i_uid); EXPORT_SYMBOL(sock_i_ino); -#ifdef CONFIG_SYSCTL EXPORT_SYMBOL(sysctl_optmem_max); +#ifdef CONFIG_SYSCTL EXPORT_SYMBOL(sysctl_rmem_max); EXPORT_SYMBOL(sysctl_wmem_max); #endif |