patch-2.4.19 linux-2.4.19/net/core/sock.c

Next file: linux-2.4.19/net/core/wireless.c
Previous file: linux-2.4.19/net/core/skbuff.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/net/core/sock.c linux-2.4.19/net/core/sock.c
@@ -108,6 +108,7 @@
 #include <linux/slab.h>
 #include <linux/interrupt.h>
 #include <linux/poll.h>
+#include <linux/tcp.h>
 #include <linux/init.h>
 
 #include <asm/uaccess.h>
@@ -626,7 +627,7 @@
 		sysctl_wmem_max = 32767;
 		sysctl_rmem_max = 32767;
 		sysctl_wmem_default = 32767;
-		sysctl_wmem_default = 32767;
+		sysctl_rmem_default = 32767;
 	} else if (num_physpages >= 131072) {
 		sysctl_wmem_max = 131071;
 		sysctl_rmem_max = 131071;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)