Re: Linux not seeing ACK on FIN|ACK packets

David Miller (davem@twiddle.net)
Tue, 30 Mar 1999 03:39:28 -0800


Date: Mon, 29 Mar 1999 18:44:44 -0600 (EST)
From: Taral <taral@cyberjunkie.com>

Attached are the patch and the tcpdump which exhibits the faulty
behavior.

Nice work... but I think the following is a better fix, can you
test it for me? I just did this using my eyes.

--- net/ipv4/tcp_input.c.~1~ Wed Mar 17 11:31:31 1999
+++ net/ipv4/tcp_input.c Tue Mar 30 03:36:08 1999
@@ -253,7 +253,7 @@
u32 end_window = tp->rcv_wup + tp->rcv_wnd;

if (tp->rcv_wnd &&
- after(end_seq, tp->rcv_nxt) &&
+ !before(end_seq, tp->rcv_nxt) &&
before(seq, end_window))
return 1;
if (seq != end_window)

-
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/