Skip to content
Snippets Groups Projects
Commit 5a25bf36 authored by Wei Yongjun's avatar Wei Yongjun Committed by James Bottomley
Browse files

[SCSI] lpfc: fix potential NULL pointer dereference in lpfc_sli4_rq_put()


The dereference to 'put_index' should be moved below the NULL test.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: default avatarJames Smart <james.smart@emulex.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent d4a2618f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment