From: Stephen Hemminger Date: Fri, 14 Oct 2005 22:26:34 +0000 (-0700) Subject: [PKTGEN]: Sleeping function called under lock X-Git-Tag: v2.6.15-rc1~733^2~5^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c8921bf1a8a9c1907b1eeb029d3f167be226f3;p=pandora-kernel.git [PKTGEN]: Sleeping function called under lock pktgen is calling kmalloc GFP_KERNEL and vmalloc with lock held. The simplest fix is to turn the lock into a semaphore, since the thread lock is only used for admin control from user context. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed