summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/apple
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-08-01 19:36:42 +0400
committerDavid S. Miller <davem@davemloft.net>2013-08-02 01:35:50 +0400
commit5e7a54a2a78d59d8c6e0f71711a3eafa4ab969af (patch)
tree0337e2ae87443c788ec4469f0c9e5f206e960069 /drivers/net/ethernet/apple
parentad0181855a48641e812454e64c62c07e015b6a97 (diff)
downloadlinux-5e7a54a2a78d59d8c6e0f71711a3eafa4ab969af.tar.xz
tile: fix panic bug in napi support for tilegx network driver
The code used to call napi_disable() in an interrupt handler (from smp_call_function), which in turn could call msleep(). Unfortunately you can't sleep in an interrupt context. Luckily it turns out all the NAPI support functions are just operating on data structures and not on any deeply per-cpu data, so we can arrange to set up and tear down all the NAPI state on the core driving the process, and just do the IRQ enable/disable as a smp_call_function thing. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/apple')
0 files changed, 0 insertions, 0 deletions