commit | eb10a781824ca63c4e484c4642a19b3370980792 | [log] [tgz] |
---|---|---|
author | Ayaz Abdulla <aabdulla@nvidia.com> | Sun Jan 11 00:09:04 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 11 00:11:28 2009 -0800 |
tree | cfd46aea9788547edeb5537eeeec9f2b153f32f8 | |
parent | 1b6725dea766b7437d885661140b6e0340d47613 [diff] |
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>