diff options
author | 2010-03-03 21:21:10 -0700 | |
---|---|---|
committer | 2010-03-03 21:21:10 -0700 | |
commit | aa75db0080603bae27961c0502812dfd0f522bb3 (patch) | |
tree | 3e7fbb0ef4415c9f36107a81378f00bba6db9440 /include/linux/dmaengine.h | |
parent | ioat2: kill pending flag (diff) | |
download | wireguard-linux-aa75db0080603bae27961c0502812dfd0f522bb3.tar.xz wireguard-linux-aa75db0080603bae27961c0502812dfd0f522bb3.zip |
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: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/dmaengine.h')
0 files changed, 0 insertions, 0 deletions