]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: fix kernel NULL pointer access
authorHimanshu Madhani <himanshu.madhani@qlogic.com>
Thu, 25 Sep 2014 10:14:44 +0000 (06:14 -0400)
committerChristoph Hellwig <hch@lst.de>
Thu, 25 Sep 2014 12:25:06 +0000 (14:25 +0200)
commitaa012c30b56b9452d60e73427984dedc9e8c561c
treeec3c50d20651b84046b7e0becfaebe94f7c83b3a
parent28b74e4029346c210d4a08ec6bbd2599c50b96a4
qla2xxx: fix kernel NULL pointer access

This patch is to fix regression added by commit id
1609c24dc7e6e608ad16a42cec7e84d64c60eb38.

When allocating memory for new session original patch does
not assign vha to op->vha resulting into NULL pointer
access during qlt_create_sess_from_atio().

Cc: <stable@vger.kernel.org>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_target.c