Fix not checked kmalloc() result.
commit0eb03d5a14377eecf6ed0ebf3cc2c9f48c12c7c6
authorPavel Emelyanov <xemul@openvz.org>
Tue, 6 May 2008 14:49:02 +0000 (6 18:49 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 May 2008 01:22:19 +0000 (12 21:22 -0400)
treeda81b29d4eb3aec06926d7bcf7c5fe94bd63fa84
parentf84e71a94cb5f88d86ab50c251e09379925b80b9
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: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh_pathtbl.c