aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Build
diff options
context:
space:
mode:
authorRam Amrani <[email protected]>2017-03-14 15:26:02 +0200
committerDavid S. Miller <[email protected]>2017-03-14 11:37:05 -0700
commit1df2adedcce17ad4a39fba74f0e2b611f797fe10 (patch)
treece0c1a0efe4b0c112eb06e4d1049710d1e0aa929 /tools/perf/scripts/python/Perf-Trace-Util/Build
parent4621ceb279d065151eb940ce8a4728b10c0646c7 (diff)
qed: Fix interrupt flags on Rx LL2
Before iterating over the the LL2 Rx ring, the ring's spinlock is taken via spin_lock_irqsave(). The actual processing of the packet [including handling by the protocol driver] is done without said lock, so qed releases the spinlock and re-claims it afterwards. Problem is that the final spin_lock_irqrestore() at the end of the iteration uses the original flags saved from the initial irqsave() instead of the flags from the most recent irqsave(). So it's possible that the interrupt status would be incorrect at the end of the processing. Fixes: 0a7fb11c23c0 ("qed: Add Light L2 support"); CC: Ram Amrani <[email protected]> Signed-off-by: Yuval Mintz <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Build')
0 files changed, 0 insertions, 0 deletions