]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[SCSI] libfcoe: don't send ELS in FIP mode if no FCF selected
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 3 Nov 2009 19:48:32 +0000 (11:48 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:13 +0000 (12:01 -0600)
commitf31f2a1c3215e96fbff2152486d0fb590f72634e
tree642901f9b176d90fa6851d83cac7add03a46c968
parentdd42dac4ecd1799077c132aab35d3c36b26d4d8c
[SCSI] libfcoe: don't send ELS in FIP mode if no FCF selected

If link is up, but no FCF is selected, don't send any ELS frames.

This came up when an fnic received a multicast advertisement but
no solitited advertisments, so no FCF was selected.  It tried
to send FLOGIs anyway.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/libfcoe.c