]> Pileus Git - ~andy/linux/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)
commita222ad1a4b2e3ca177a538482c99c519c1ce94d1
tree48b7a15519c8a09b71bcf149c7f93d94b668393c
parent39562e783928e3ea9ee2cbce99a756ab48d3c06a
[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