Skip to content
Commit 0eb03d5a authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by John W. Linville
Browse files

Fix not checked kmalloc() result.



The new_node kmallocation is not checked for success, so add
this check.

BTW, it also happens under the read_lock.

Signed-off-by: default avatarPavel Emelyanov <xemul@openvz.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f84e71a9
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