]> err.no Git - linux-2.6/commit
[PATCH] lpfc 8.1.3: Protect NPL lists with host lock
authorJamie Wellnitz <Jamie.Wellnitz@emulex.com>
Wed, 1 Mar 2006 03:33:10 +0000 (22:33 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Mon, 6 Mar 2006 15:47:31 +0000 (09:47 -0600)
commit66a9ed66000d186933892ca5121e68a071d624ac
treec5aa2b1e2e819876a980e59f3cbd8d0a7761aeae
parent5fe9f5119378e75986ad90c783a7e085bf67703a
[PATCH] lpfc 8.1.3: Protect NPL lists with host lock

Protect NPL lists with host lock

Symptoms: lpfc_findnode_rpi and lpfc_findnode_did can be called
outside of the discovery thread context. We have to iterate
through the NPL lists under the host lock and all add/del
operations on those lists have to be done under host lock.

Signed-off-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c