]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] netlink oops fix due to incorrect error code
authorKirill Korotaev <dev@openvz.org>
Mon, 9 Jan 2006 14:42:42 +0000 (17:42 +0300)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 17:36:52 +0000 (09:36 -0800)
commit3b70d9e980ad06b8435e82e7faa4b27f96ccad40
treee4c3a5d0da2f7f64d08ba6f10000e363f69889cd
parent833a7d05345607b2aa703122c6387f40ef569c4e
[PATCH] netlink oops fix due to incorrect error code

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@sw.ru>
Signed-Off-By: Kirill Korotaev <dev@openvz.org>
Signed-Off-By: Linus Torvalds <torvalds@osdl.org>
net/netlink/af_netlink.c