[PATCH] TCP close bug in 2.2

Rusty Russell (rusty@linuxcare.com.au)
Tue, 21 Dec 1999 11:38:16 +1100


Hi Alan,

Sent this before but looks like it was missed.

--- linux-2.2/net/ipv4/tcp_timer.c.~1~ Sun Dec 5 13:24:24 1999
+++ linux-2.2/net/ipv4/tcp_timer.c Fri Dec 10 15:46:43 1999
@@ -131,6 +131,7 @@
} else {
/* Clean up time. */
tcp_set_state(sk, TCP_CLOSE);
+ sk->shutdown |= SHUTDOWN_MASK;
return 0;
}
return 1;

--
Hacking time.

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