diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-07-27 01:46:51 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-27 13:45:50 -0700 |
commit | e4c7f259c5be99dcfc3d98f913590663b0305bf8 (patch) | |
tree | fb80f3f5ef84c062b118231c4fd591fc0e8965df /net/core/rtnetlink.c | |
parent | 42493570100b91ef663c4c6f0c0fdab238f9d3c2 (diff) |
USB: kaweth.c: use GFP_ATOMIC under spin_lock
The problem is that we call this with a spin lock held. The call tree
is:
kaweth_start_xmit() holds kaweth->device_lock.
-> kaweth_async_set_rx_mode()
-> kaweth_control()
-> kaweth_internal_control_msg()
The kaweth_internal_control_msg() function is only called from
kaweth_control() which used GFP_ATOMIC for its allocations.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/rtnetlink.c')
0 files changed, 0 insertions, 0 deletions