lkml.org 
[lkml]   [1998]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 20 Jan 1998 19:13:04 -0800 (PST)
FromLinus Torvalds <>
SubjectSmall TCP-buglet in 2.1.80..

This should fix a TCP problem in 2.1.80 that makes at least one
version of netscape able to get a oops message out of it otherwise.

freitag, you may want to fix this up?

Linus

---
diff -u --recursive --new-file v2.1.80/linux/net/ipv4/tcp.c linux/net/ipv4/tcp.c
--- v2.1.80/linux/net/ipv4/tcp.c Sun Jan 18 12:28:34 1998
+++ linux/net/ipv4/tcp.c Tue Jan 20 18:42:21 1998
@@ -613,7 +613,9 @@
sk->urginline || !sk->urg_data))
mask |= POLLIN | POLLRDNORM;

-#if 1 /* This needs benchmarking and real world tests */
+#if 0
+ /* This needs benchmarking and real world tests and some bugfixing */
+ /* (dst_cache == NULL) */
space = sk->dst_cache->pmtu + 128;
if (space < 2048) /* XXX */
space = 2048;


\
 
 \ /
  Last update: 2005-03-22 13:41    [from the cache]
©2003-2010