diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-10-14 15:26:34 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-10-26 00:03:12 -0200 |
commit | b7c8921bf1a8a9c1907b1eeb029d3f167be226f3 (patch) | |
tree | 8b3fcc1f10d297ddde054f8be887cd09129e0320 /net/core/request_sock.c | |
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>
Diffstat (limited to 'net/core/request_sock.c')
0 files changed, 0 insertions, 0 deletions