Skip to content
Commit 14591de1 authored by Kirill Korotaev's avatar Kirill Korotaev Committed by Linus Torvalds
Browse files

[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: default avatarDmitry Mishin <dim@sw.ru>
Signed-Off-By: default avatarKirill Korotaev <dev@openvz.org>
Signed-Off-By: default avatarLinus Torvalds <torvalds@osdl.org>
parent 67751777
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment