]> git.baikalelectronics.ru Git - 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)
commitba71bc192ab42c709e733ff45b040dd804c83ec3
tree8582d19380586f787b444116f7e8e5f02e3b3d86
parent1572e8b84db9a65f853a2e4d3c2a083c5e93b6aa
[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