Messages in this thread Patch in this message | | | Date | Wed, 5 Jan 2000 20:52:28 +0100 | From | Andi Kleen <> | Subject | Re: 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/
| |