patch-2.0.1 linux/net/core/sock.c
Next file: linux/net/ipv4/af_inet.c
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jun 26 11:05:26 1996
- Orig file:
v2.0.0/linux/net/core/sock.c
- Orig date:
Sun Jun 9 13:28:47 1996
diff -u --recursive --new-file v2.0.0/linux/net/core/sock.c linux/net/core/sock.c
@@ -185,6 +185,8 @@
val = SK_RMEM_MAX*2;
if(val < 256)
val = 256;
+ if(val > 65535)
+ val = 65535;
sk->rcvbuf = val;
return(0);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov