Re: bugs in TCP code - keep-alive

Alexey Kuznetsov (kuznet@ms2.inr.ac.ru)
Thu, 29 Oct 1998 20:31:06 +0300 (MSK)


Hello!

> + sk->shutdown = SHUTDOWN_MASK;
> + if (!sk->dead)
> + sk->state_change(sk);

Guys, I bet it is these places that I suffered from and failed to find!

Andi, do you remember I was in tears permanently seeing stale sockets,
finishing in TCP_CLOSE state and with process waiting in select infinitely? 8)
That's the place, where we forget to shutdown closed socket!
Seems, I forgot about tcp_timer.c 8)

Alexey

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