]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] cxgb3i: fix connection error when vlan is enabled
authorKaren Xie <kxie@chelsio.com>
Fri, 26 Jun 2009 22:17:29 +0000 (15:17 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 27 Jun 2009 17:56:00 +0000 (12:56 -0500)
commit7226154ec0db6d8b19616c702512e5b2678a492b
tree48b7a15519c8a09b71bcf149c7f93d94b668393c
parentdfe808de1f8d50101dbbaa60ae117ebff8e77c08
[SCSI] cxgb3i: fix connection error when vlan is enabled

There is a bug when VLAN is configured on the cxgb3 interface, the iscsi
conn. would be denied with message "cxgb3i: NOT going through cxgbi device."

This patch adds code to get the real egress net_device when vlan is configured.

Signed-off-by: Karen Xie <kxie@chelsio.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/cxgb3i/cxgb3i_iscsi.c