Skip to content
Commit aa75db00 authored by Dan Williams's avatar Dan Williams
Browse files

ioat: close potential BUG_ON race in the descriptor cleanup path



Since ioat_cleanup_preamble() and the update of the last completed
descriptor are not synchronized there is a chance that two cleanup threads
can see descriptors to clean.  If the first cleans up all pending
descriptors then the second will trigger the BUG_ON.

Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 281befa5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment