Re: [PATCH] DECnet connect hang bugfix

From: David S. Miller
Date: Mon Oct 25 2004 - 22:52:28 EST


On Sun, 24 Oct 2004 12:11:57 +0100
Patrick Caulfield <pcaulfie@xxxxxxxxxx> wrote:

> This patch fixes a bug in the DECnet connect that seems to have been in 2.6 for
> a while now.
>
> If a connection is rejected by a remote host (eg invalid access control, no
> such object etc) the Linux end hangs in connect() because it is only waiting for
> the socket to go into RUN state.
>
> This patch sets the ECONNREFUSED error state on the socket when the connection
> is rejected to that the connect() exits it's wait loop and returns the error to
> the user.

Applied, thanks Patrick.

Could you please provide proper "Signed-off-by:" lines with
future DECNET patches?

Thanks a lot.
-
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/