]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
[SCSI] bnx2fc: Send solicitation only after vlan discovery is complete
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Tue, 30 Aug 2011 22:54:48 +0000 (15:54 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 17 Sep 2011 14:01:58 +0000 (18:01 +0400)
commit8a5badf1ea10c726b9cc04e52f91395b1248e034
tree8582d19380586f787b444116f7e8e5f02e3b3d86
parentc780673cfb1e3d16d23f9808738539625d3b9363
[SCSI] bnx2fc: Send solicitation only after vlan discovery is complete

Link up event is generated to the driver even before vlan discovery has
started. Because of this driver can send discovery solicitation on a stale
vlan. Call fcoe_ctlr_link_up() only when the driver is in enabled state, which
implies the vlan discovery is complete before sending solicitation.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc.h
drivers/scsi/bnx2fc/bnx2fc_fcoe.c