[SCSI] fcoe: add check to fail gracefully in bonding mode
authorjohn fastabend <john.r.fastabend@intel.com>
Tue, 3 Nov 2009 19:48:44 +0000 (11:48 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:01:15 +0000 (12:01 -0600)
commit59d925168457805572f40fb12bd399e89775b3ff
treeca5455d57867826c44dcf5ad4d20f502f8dbeed3
parent4e5ad003ae07999593bb58ffb7ea646700647390
[SCSI] fcoe: add check to fail gracefully in bonding mode

This patch adds a check to fail gracefully when the netdevice
is bonded.  Previously, the error was detected but the stack
would continue to load.  This resulted in a partially enabled
fcoe intance and errors when the fcoe instance was destroy.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.c