aboutsummaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>2013-01-28 11:43:03 -0800
committerRobert Love <robert.w.love@intel.com>2013-02-19 12:23:07 -0800
commit1f953b0dbc2549318afcc0a70af5542dffbce34a (patch)
tree38f9f5bbacd82835f2e9085b9a883df0c16e3297 /include/scsi
parenta586069b0f56a700d6f6249a64cbc313dd4a97e0 (diff)
libfcoe: Check for unusable FCFs before looking for conflicting FCFs
When there are multiple FCFs in the fabric, and one of them becomes unavailable, the fabric name for the unavailable FCF becomes 0 along with FIP_FL_AVAIL getting reset. In this case, FCF selection logic does not select any FCF as it first checks for conflicting FCFs (since fabric name is 0, it fails the condition), instead of first checking if it is usable or not. Fix it by first checking if FCF is usable and skip that FCF, and go to the next one in the list to check if it can be selected. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: Robert Love <robert.w.love@intel.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions