lkml.org 
[lkml]   [2017]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v2] qla2xxx: Protect access to qpair members with qpair->qp_lock
    Date
    Hi Martin,

    On 6/27/17, 6:32 PM, "Martin K. Petersen" <martin.petersen@oracle.com> wrote:


    > In qla2xx_start_scsi_mq() and qla2xx_dif_start_scsi_mq() we grab the
    > qpair->qp_lock but do access members of the qpair before having the lock.
    > Re-order the locking sequence to have all read and write access to qpair
    > members under the qpair->qp_lock.

    Cavium folks, please review!

    I am testing it internally, will update by tomorrow.

    --
    Martin K. Petersen Oracle Linux Engineering

    Thanks,
    Himanshu


    \
     
     \ /
      Last update: 2017-06-28 03:45    [W:3.256 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site