2.6: net/core.c should export sysctl_optmem_max for modular IPV6

From: Matthias Andree
Date: Wed Feb 25 2004 - 21:00:18 EST


Hi,

IPv6 built as a module fails (in 2.6 BitKeeper tree) because it cannot
link to sysctl_optmem_max, trivial patch:

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/02/26 02:00:09+01:00 matthias.andree@xxxxxx
# EXPORT_SYMBOL(sysctl_optmem_max) to make IPv6 happy.
#
# net/core/sock.c
# 2004/02/26 01:58:51+01:00 matthias.andree@xxxxxx +1 -0
# EXPORT_SYMBOL(sysctl_optmem_max) to make IPv6 happy.
#
diff -Nru a/net/core/sock.c b/net/core/sock.c
--- a/net/core/sock.c Thu Feb 26 02:49:06 2004
+++ b/net/core/sock.c Thu Feb 26 02:49:06 2004
@@ -1186,6 +1186,7 @@
EXPORT_SYMBOL(sock_wfree);
EXPORT_SYMBOL(sock_wmalloc);
#ifdef CONFIG_SYSCTL
+EXPORT_SYMBOL(sysctl_optmem_max);
EXPORT_SYMBOL(sysctl_rmem_max);
EXPORT_SYMBOL(sysctl_wmem_max);
#endif

--
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/