Re: [PATCH 2/3] IB/hfi1: Fix missing lock/unlock in verbs drain callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 20, 2016 at 06:05:30AM -0700, Dennis Dalessandro wrote:
> From: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>
> 
> The iowait_sdma_drained() callback lacked locking to
> protect the qp s_flags field.
> 
> This causes the s_flags to be out of sync
> on multiple CPUs, potentially corrupting the s_flags.
> 
> Fixes: a545f5308b6c ("staging/rdma/hfi: fix CQ completion order issue")
> Reviewed-by: Sebastian Sanchez <sebastian.sanchez@xxxxxxxxx>
> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>

Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux