Small TCP-buglet in 2.1.80..

Linus Torvalds (torvalds@transmeta.com)
Tue, 20 Jan 1998 19:13:04 -0800 (PST)


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;