Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154803
b: refs/heads/master
c: a222ad1
h: refs/heads/master
i:
  154801: b55b52c
  154799: e7d7092
v: v3
  • Loading branch information
Karen Xie authored and James Bottomley committed Jun 27, 2009
1 parent 15b0b03 commit 5b9d818
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39562e783928e3ea9ee2cbce99a756ab48d3c06a
refs/heads/master: a222ad1a4b2e3ca177a538482c99c519c1ce94d1
4 changes: 4 additions & 0 deletions trunk/drivers/scsi/cxgb3i/cxgb3i_iscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

#include <linux/inet.h>
#include <linux/crypto.h>
#include <linux/if_vlan.h>
#include <net/dst.h>
#include <net/tcp.h>
#include <scsi/scsi_cmnd.h>
Expand Down Expand Up @@ -184,6 +185,9 @@ static struct cxgb3i_hba *cxgb3i_hba_find_by_netdev(struct net_device *ndev)
struct cxgb3i_adapter *snic;
int i;

if (ndev->priv_flags & IFF_802_1Q_VLAN)
ndev = vlan_dev_real_dev(ndev);

read_lock(&cxgb3i_snic_rwlock);
list_for_each_entry(snic, &cxgb3i_snic_list, list_head) {
for (i = 0; i < snic->hba_cnt; i++) {
Expand Down

0 comments on commit 5b9d818

Please sign in to comment.