summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorLendacky, Thomas <Thomas.Lendacky@amd.com>2015-02-06 01:17:14 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-02-08 06:44:42 (GMT)
commitfd972b736bfec7e0297dac9501211abb91b436fd (patch)
tree4ae758cee05d2598d0940d11660d2ba1dbc2aeac /net
parent91e83133e70ebe1572746d1ad858b4eb28ab9b53 (diff)
downloadlinux-fd972b736bfec7e0297dac9501211abb91b436fd.tar.xz
amd-xgbe: Check per channel DMA interrupt use in main ISR
When using per channel DMA interrupts the transmit interrupt (TI) and the receive interrupt (RI) are masked off so as to not generate an interrupt to the main ISR. However, should another interrupt fire for the DMA channel that is handled by the main ISR the TI/RI bits can still be set. This will cause the wrong and uninitialized napi structure to be used causing a panic. Add a check to be sure per channel DMA interrupts are not enabled before acting on those bit flags. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions