diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2015-08-21 03:04:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-24 07:59:33 +0200 |
commit | eed635699abaacebc9b19a2f9de9ddc688c390c2 (patch) | |
tree | 87b7041c7624188787eceed3aa401caef71eb36c /drivers/ide | |
parent | netlink: mmap: fix tx type check (diff) | |
download | linux-eed635699abaacebc9b19a2f9de9ddc688c390c2.tar.xz linux-eed635699abaacebc9b19a2f9de9ddc688c390c2.zip |
net: bcmgenet: Avoid sleeping in bcmgenet_timeout
bcmgenet_timeout() executes in atomic context, yet we will invoke
napi_disable() which does sleep. Looking back at the changes, disabling
TX napi and re-enabling it is completely useless, since we reclaim all
TX buffers and re-enable interrupts, and wake up the TX queues.
Fixes: 13ea657806cf ("net: bcmgenet: improve TX timeout")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions