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

2006-01-09 Thread David S. Miller
From: Patrick McHardy <[EMAIL PROTECTED]> 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. > >

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

2006-01-09 Thread Patrick McHardy
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 <[EMAIL PROTECTED]> Signed-Off-By: Kirill Korotaev <[EMAIL PROTECTED]>