commit | fe35a40e675473eb65f2f5462b82770f324b5689 | [log] [tgz] |
---|---|---|
author | Varun Prakash <varun@chelsio.com> | Sat Jan 12 22:14:30 2019 +0530 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jan 22 20:40:59 2019 -0500 |
tree | 73e5b565b42ab4004802364cd225bd1f6e17903d | |
parent | c41f59884be5cca293ed61f3d64637dbba3a6381 [diff] |
scsi: csiostor: fix NULL pointer dereference in csio_vport_set_state() Assign fc_vport to ln->fc_vport before calling csio_fcoe_alloc_vnp() to avoid a NULL pointer dereference in csio_vport_set_state(). ln->fc_vport is dereferenced in csio_vport_set_state(). Signed-off-by: Varun Prakash <varun@chelsio.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>