Re: ISS patch problem?

David S. Miller (davem@jenolan.rutgers.edu)
Thu, 6 Mar 1997 16:27:54 -0500


Date: Thu, 6 Mar 1997 16:22:28 -0500 (EST)
From: Jon Lewis <jlewis@inorganic5.fdt.net>

If the problem is just old sockets hanging around, why are things
like sendmail and apache suddenly dying in the first place?

Indeed, it shouldn't be happening. Please try this patch, it is
against ISS test3, this should kill the problem I think:

--- linux/net/ipv4/tcp.c.~1~ Tue Mar 4 05:07:51 1997
+++ linux/net/ipv4/tcp.c Thu Mar 6 16:25:22 1997
@@ -474,7 +474,7 @@
if(!sk2->rcv_saddr || !sk->rcv_saddr) {
if((!sk2_reuse) ||
(!sk_reuse) ||
- (state != TCP_LISTEN)) {
+ (state == TCP_LISTEN)) {
retval = 1;
break;
}