diff options
author | Rabin Vincent <rabinv@axis.com> | 2016-08-23 14:31:28 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-24 00:11:05 (GMT) |
commit | a8184003c0bb1d6362c2af76c560b3caae6832cb (patch) | |
tree | aeab620c0607964606a882366e87731c98078657 /net/sctp/sctp_diag.c | |
parent | 53080fe9c451e7625e71b91c384e7bef1be72b00 (diff) | |
download | linux-a8184003c0bb1d6362c2af76c560b3caae6832cb.tar.xz |
dwc_eth_qos: fix interrupt enable race
We currently enable interrupts before we enable NAPI. If an RX interrupt
hits before we enabled NAPI then the NAPI callback is never called and
we leave the hardware with RX interrupts disabled, which of course leads
us to never handling received packets. Fix this by moving the interrupt
enable to after we've enable NAPI and the reclaim tasklet.
Fixes: cd5e41234729 ("dwc_eth_qos: do phy_start before resetting hardware")
Signed-off-by: Rabin Vincent <rabinv@axis.com>
Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sctp_diag.c')
0 files changed, 0 insertions, 0 deletions