mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 02:21:47 +00:00
[SCSI] fcoe: remove check for zero fabric name
This check prevents FCF selection in NPV mode due to zero fabric name in that case and in turn flogi fails. Though NPV mode should not have this zero and should be fixed there also but spec also does not require initiator to ensure that fabric name must be non-zero, therefore dropping this check to get flogi working in NPV mode. Signed-off-by: Vasu Dev <vasu.dev@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
7f985231d2
commit
240778e821
@ -845,7 +845,7 @@ static int fcoe_ctlr_parse_adv(struct fcoe_ctlr *fip,
|
||||
}
|
||||
if (!fcf->fc_map || (fcf->fc_map & 0x10000))
|
||||
return -EINVAL;
|
||||
if (!fcf->switch_name || !fcf->fabric_name)
|
||||
if (!fcf->switch_name)
|
||||
return -EINVAL;
|
||||
if (desc_mask) {
|
||||
LIBFCOE_FIP_DBG(fip, "adv missing descriptors mask %x\n",
|
||||
|
Loading…
Reference in New Issue
Block a user