commit | 8770e91aa61127f82eb8a9e641832474dbbcc8f1 | [log] [tgz] |
---|---|---|
author | Nicolas Ferre <nicolas.ferre@atmel.com> | Tue Feb 12 11:08:48 2013 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 13 13:34:10 2013 -0500 |
tree | 65aa9243d2f96562261e01d2278eb4aae7be84ca | |
parent | ac574804d412047e52de4dd887615cc88f58aeb0 [diff] |
net/macb: fix race with RX interrupt while doing NAPI When interrupts are disabled, an RX condition can occur but it is not reported when enabling interrupts again. We need to check RSR and use napi_reschedule() if condition is met. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>