mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
Two threads of the same process can potential read and write parallelly to
head and tail pointers of the same DBC request queue. This could lead to a
race condition and corrupt the DBC request queue.
Fixes: ff13be8303 ("accel/qaic: Add datapath")
Signed-off-by: Pranjal Ramajor Asha Kanojiya <[email protected]>
Signed-off-by: Youssef Samir <[email protected]>
Reviewed-by: Jeff Hugo <[email protected]>
Reviewed-by: Carl Vanderlip <[email protected]>
[jhugo: Add fixes tag]
Signed-off-by: Jeff Hugo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]