netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] always export sysctl_{r,w}mem_max
@ 2007-10-26 23:08 Adrian Bunk
  2007-10-26 23:20 ` Eric W. Biederman
  0 siblings, 1 reply; 8+ messages in thread
From: Adrian Bunk @ 2007-10-26 23:08 UTC (permalink / raw)
  To: davem; +Cc: netdev, linux-kernel, Eric W. Biederman

This patch fixes the following build error with CONFIG_SYSCTL=n:

<--  snip  -->

...
ERROR: "sysctl_rmem_max" [fs/dlm/dlm.ko] undefined!
ERROR: "sysctl_wmem_max" [drivers/net/rrunner.ko] undefined!
ERROR: "sysctl_rmem_max" [drivers/net/rrunner.ko] undefined!
make[2]: *** [__modpost] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
22ea6cd56e4fa844b0b1bbab2542f09eb6c9a5ab 
diff --git a/net/core/sock.c b/net/core/sock.c
index febbcbc..ee1cc4f 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -2004,7 +2004,5 @@ EXPORT_SYMBOL(sock_wmalloc);
 EXPORT_SYMBOL(sock_i_uid);
 EXPORT_SYMBOL(sock_i_ino);
 EXPORT_SYMBOL(sysctl_optmem_max);
-#ifdef CONFIG_SYSCTL
 EXPORT_SYMBOL(sysctl_rmem_max);
 EXPORT_SYMBOL(sysctl_wmem_max);
-#endif


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-11-07  7:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 23:08 [2.6 patch] always export sysctl_{r,w}mem_max Adrian Bunk
2007-10-26 23:20 ` Eric W. Biederman
2007-10-26 23:31   ` Rick Jones
2007-10-26 23:39     ` David Miller
2007-10-26 23:46       ` Rick Jones
2007-10-26 23:52         ` David Miller
2007-10-27  0:04       ` Eric W. Biederman
2007-11-07  7:50         ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).