Re: TCP bug in 2.1.36?

Tim Waugh (tmw20@cam.ac.uk)
Tue, 29 Apr 1997 17:33:32 +0100 (BST)


On Tue, 29 Apr 1997 Eric.Schenk@dna.lth.se wrote:

> I assume that 140.142.3.227 is the remote server correct?

Sorry, yes.

> The patch to net/ipv4/tcp_ipv4.c attached to the end of this message
> fixes the problem, and has been checked into the CVS tree. Note that the
> patch line numbers might be a bit off, since they were generated against
> the latest cvs checkin, not a clean 2.1.36. It's a short patch, adjust
> by hand if necessary :-)

Great - thanks! This applies to clean 2.1.36:

--- tcp_ipv4.c~ Tue Apr 29 17:27:16 1997
+++ tcp_ipv4.c Tue Apr 29 17:30:32 1997
@@ -918,2 +918,3 @@
tp->tstamp_ok = tp->sack_ok = tp->snd_wscale = 0;
+ tp.in_mss = 536;
tcp_parse_options(th,tp);
@@ -1351,3 +1352,3 @@
tp->sack_ok = 0;
- tp->in_mss = 0;
+ tp->in_mss = 536;
tp->snd_wscale = 0;

Tim.
*/