lkml.org 
[lkml]   [2000]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: TIME_WAIT/MSL is 2 seconds--bug/feature?
> Alas, it contradicts to all known RFCs in this place 
> and to common sense too 8).

Ok, I was wrong. Time to catch some sleep. Here is a fix for the bug.

David, could you apply it to vger-stable?

-Andi

--- linux/net/ipv4/tcp_input.c-o Fri Nov 19 00:29:46 1999
+++ linux/net/ipv4/tcp_input.c Wed Jan 5 20:47:39 2000
@@ -989,7 +989,7 @@
}

/* Check RST or SYN */
- if(th->rst || th->syn) {
+ if(th->rst) {
/* This is TIME_WAIT assasination, in two flavors.
* Oh well... nobody has a sufficient solution to this
* protocol bug yet.
@@ -998,8 +998,6 @@
tcp_tw_deschedule(tw);
tcp_timewait_kill(tw);
}
- if(!th->rst)
- return TCP_TW_RST; /* toss a reset back */
return 0;
} else {
/* In this case we must reset the TIMEWAIT timer. */
--
This is like TV. I don't like TV.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.105 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site