[PATCH] net/core/sock.c - 2.4.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch corrects a typo in net/core/sock.c.  The assignment to
sysctl_wmem_default was done twice in a row, rather than to
sysctl_wmem_default and sysctl_rmem_default.

This patch applies to 2.4.18.

Chris

--- net/core/sock.c.orig        Fri Dec 21 09:42:05 2001
+++ net/core/sock.c     Mon May 20 17:35:43 2002
@@ -626,7 +626,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;

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux