diff options
author | Finn Thain <[email protected]> | 2020-01-23 09:07:26 +1100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-01-23 21:24:36 +0100 |
commit | 5fedabf5a70be26b19d7520f09f12a62274317c6 (patch) | |
tree | b0e947486465b2a166829979adcd051e6ebcd165 /drivers/fpga/fpga-mgr.c | |
parent | 865ad2f2201dc18685ba2686f13217f8b3a9c52c (diff) |
net/sonic: Clear interrupt flags immediately
The chip can change a packet's descriptor status flags at any time.
However, an active interrupt flag gets cleared rather late. This
allows a race condition that could theoretically lose an interrupt.
Fix this by clearing asserted interrupt flags immediately.
Fixes: efcce839360f ("[PATCH] macsonic/jazzsonic network drivers update")
Tested-by: Stan Johnson <[email protected]>
Signed-off-by: Finn Thain <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions