Re: [PATCH] tcp: select(writefds) don't hang up when a peer close connection

From: KOSAKI Motohiro
Date: Sun Aug 29 2010 - 21:09:00 EST


> From: Ben Hutchings <bhutchings@xxxxxxxxxxxxxx>
> Date: Thu, 26 Aug 2010 13:07:28 +0100
>
> > By the way, I was able to reproduce this bug in RHEL 3 (kernel based on
> > 2.4.21) so it seems to have been around for a while.
>
> It's existed since September 1998:
>
> commit 6275af56642b5b9ed9ef15bf5d9718661c5fe79d
> Author: freitag <freitag>
> Date: Sat Sep 26 06:20:25 1998 +0000
>
> Some small fixes.
>
> - Remove second check for sk->err in poll as discussed with Linus.
> - Don't signal writability when the local end has been shut down.
> - Comment fixes.

because (almostly) nobody were using this feature? ;)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/