diff options
author | Krishna Mohan <krmohan@cisco.com> | 2013-03-01 11:35:31 +0000 |
---|---|---|
committer | Robert Love <robert.w.love@intel.com> | 2013-05-10 10:19:19 -0700 |
commit | e6c10b7c5e0e7c6ecf7d60f502c7eeaf3361b48f (patch) | |
tree | 16930a7bcdff2a234cf52ad07a8c1cf1c22d2230 /drivers/scsi/libfc | |
parent | c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1 (diff) | |
download | kernel_goldelico_gta04-e6c10b7c5e0e7c6ecf7d60f502c7eeaf3361b48f.zip kernel_goldelico_gta04-e6c10b7c5e0e7c6ecf7d60f502c7eeaf3361b48f.tar.gz kernel_goldelico_gta04-e6c10b7c5e0e7c6ecf7d60f502c7eeaf3361b48f.tar.bz2 |
libfcoe: Fix Conflicting FCFs issue in the fabric
When multiple FCFs in use, and first FIP Advertisement received is
with "Available for Login" i.e A bit set to 0, FCF selection will fail.
The fix is to remove the assumption in the code that first FCF is only
allowed selectable FCF.
Consider the scenario fip->fcfs contains FCF1(fabricname X, marked A=0)
FCF2(fabricname Y, marked A=1). list_first_entry(first) points to FCF1
and 1st iteration we ignore the FCF and on 2nd iteration we compare
FCF1 & FCF2 fabric name and we fails to perform FCF selection.
Signed-off-by: Krishna Mohan <krmohan@cisco.com>
Reviewed-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Diffstat (limited to 'drivers/scsi/libfc')
0 files changed, 0 insertions, 0 deletions