Re: [PATCH 2.6] DECnet typo in accept causes oops

From: David S. Miller
Date: Mon Nov 29 2004 - 23:00:28 EST


On Mon, 29 Nov 2004 16:05:22 +0000
Patrick Caulfield <patrick@xxxxxxxxxxxxxxx> wrote:

> This patch fixes typo which can cause a rare oops in accept. dn_accept returns
> a pointer instead of an error if dn_wait_for_connect() is interrupted.
> This confuses sys_accept which calls dn_getname with a incomplete struct socket,
> this then oopses.

Applied, thanks Patrick.
-
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/