commit | b7c8921bf1a8a9c1907b1eeb029d3f167be226f3 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@osdl.org> | Fri Oct 14 15:26:34 2005 -0700 |
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | Wed Oct 26 00:03:12 2005 -0200 |
tree | 8b3fcc1f10d297ddde054f8be887cd09129e0320 | |
parent | 670c02c2bfd2c8a305a90f5285409a7b0a8fd630 [diff] |
[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 <shemminger@osdl.org> Signed-off-by: Robert Olsson <robert.olsson@its.uu.se> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>