summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorHans Schillstrom <hans.schillstrom@ericsson.com>2012-04-30 08:13:50 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-05-08 19:40:56 +0200
commit6d8ebc8a27e1b187abfb06dd79b35a393aa9f2a2 (patch)
tree071e81e46ed5c3230f56b02c8ee35cbcb64a9ac8 /net/core
parent068d522067294987b16b3971f1aab2141eba4c44 (diff)
downloadop-kernel-dev-6d8ebc8a27e1b187abfb06dd79b35a393aa9f2a2.zip
op-kernel-dev-6d8ebc8a27e1b187abfb06dd79b35a393aa9f2a2.tar.gz
net: export sysctl_[r|w]mem_max symbols needed by ip_vs_sync
To build ip_vs as a module sysctl_rmem_max and sysctl_wmem_max needs to be exported. The dependency was added by "ipvs: wakeup master thread" patch. Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com> Signed-off-by: Simon Horman <horms@verge.net.au> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/sock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/sock.c b/net/core/sock.c
index b8c818e..26ed27f 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -259,7 +259,9 @@ static struct lock_class_key af_callback_keys[AF_MAX];
/* Run time adjustable parameters. */
__u32 sysctl_wmem_max __read_mostly = SK_WMEM_MAX;
+EXPORT_SYMBOL(sysctl_wmem_max);
__u32 sysctl_rmem_max __read_mostly = SK_RMEM_MAX;
+EXPORT_SYMBOL(sysctl_rmem_max);
__u32 sysctl_wmem_default __read_mostly = SK_WMEM_MAX;
__u32 sysctl_rmem_default __read_mostly = SK_RMEM_MAX;
OpenPOWER on IntegriCloud