Re: [PATCH] netlink oops fix due to incorrect error code

From: David S. Miller
Date: Mon Jan 09 2006 - 18:58:01 EST


From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Tue, 10 Jan 2006 00:50:52 +0100

> Kirill Korotaev wrote:
> > Fixed oops after failed netlink socket creation.
> > Wrong parathenses in if() statement caused err to be 1,
> > instead of negative value.
> > Trivial fix, not trivial to find though.
> >
> > Signed-Off-By: Dmitry Mishin <dim@xxxxx>
> > Signed-Off-By: Kirill Korotaev <dev@xxxxxxxxxx>
>
> Good catch. Dave, please apply.

Already in Linus's tree, he applied it directly :-)
-
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/