> + 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)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/