tcp: sysctl_tcp_cookie_size needs to be exported to modules.
authorDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 06:18:58 +0000 (22:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 06:18:58 +0000 (22:18 -0800)
Otherwise:

ERROR: "sysctl_tcp_cookie_size" [net/ipv6/ipv6.ko] undefined!
make[1]: *** [__modpost] Error 1

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c

index c08e06d..93316a9 100644 (file)
@@ -60,6 +60,7 @@ int sysctl_tcp_base_mss __read_mostly = 512;
 int sysctl_tcp_slow_start_after_idle __read_mostly = 1;
 
 int sysctl_tcp_cookie_size __read_mostly = 0; /* TCP_COOKIE_MAX */
+EXPORT_SYMBOL_GPL(sysctl_tcp_cookie_size);
 
 
 /* Account for new data that has been sent to the network. */