diff options
author | Ayaz Abdulla <aabdulla@nvidia.com> | 2009-01-11 09:09:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-11 09:11:28 +0100 |
commit | eb10a781824ca63c4e484c4642a19b3370980792 (patch) | |
tree | cfd46aea9788547edeb5537eeeec9f2b153f32f8 /drivers/net/smsc911x.c | |
parent | net: fix section mismatch warnings in dccp/ccids/lib/tfrc.c (diff) | |
download | linux-eb10a781824ca63c4e484c4642a19b3370980792.tar.xz linux-eb10a781824ca63c4e484c4642a19b3370980792.zip |
forcedeth: napi schedule lock fix
This patch fixes a potential race condition between scheduling napi and
completing napi poll. The call to netif_rx_schedule should be under
protection of the lock (as is the completion), otherwise, interrupts
could be masked off.
Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/smsc911x.c')
0 files changed, 0 insertions, 0 deletions