From: Pavel Emelyanov Date: Tue, 6 May 2008 14:46:36 +0000 (+0400) Subject: Fix GFP_KERNEL allocation under read lock. X-Git-Tag: v2.6.26-rc3~65^2~14^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f84e71a94cb5f88d86ab50c251e09379925b80b9;p=pandora-kernel.git Fix GFP_KERNEL allocation under read lock. The mesh_path_add() read-locks the pathtbl_resize_lock and calls kmalloc with GFP_KERNEL mask. Fix it and move the endadd2 label lower. It should be _before_ the if() beyond, but it makes no sense for it being there, so I move it right after this if(). Signed-off-by: Pavel Emelyanov Signed-off-by: John W. Linville --- Reading git-diff-tree failed