aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/bnx2fc
diff options
context:
space:
mode:
authorGravatar Saurav Kashyap <skashyap@marvell.com> 2019-08-23 02:52:43 -0700
committerGravatar Martin K. Petersen <martin.petersen@oracle.com> 2019-08-29 18:51:19 -0400
commit3480e7a8c8e47a6ee101ab722c58d61761b67e4a (patch)
tree777a30c2f1a72f61d81cce2812bc2c234b5fc5fb /drivers/scsi/bnx2fc
parentscsi: qedf: Use discovery list to traverse rports (diff)
downloadlinux-3480e7a8c8e47a6ee101ab722c58d61761b67e4a.tar.gz
linux-3480e7a8c8e47a6ee101ab722c58d61761b67e4a.tar.bz2
linux-3480e7a8c8e47a6ee101ab722c58d61761b67e4a.zip
scsi: qedf: Fix race betwen fipvlan request and response path
There is a race b/w fipvlan request and response path: ===== qedf_fcoe_process_vlan_resp:113]:2: VLAN response, vid=0xffd. qedf_initiate_fipvlan_req:165]:2: vlan = 0x6ffd already set. qedf_set_vlan_id:139]:2: Setting vlan_id=0ffd prio=3. ====== The request thread sees that vlan is already set and fails to call ctrl_link_up. Fix: - While setting vlan_id use local variable and before setting vlan_id. - Call fcoe_ctlr_link_up in next iteration of fipvlan request. Signed-off-by: Saurav Kashyap <skashyap@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
0 files changed, 0 insertions, 0 deletions