From bd7d92eb5377d914892f7a3ee4739f684d9554d9 Mon Sep 17 00:00:00 2001 From: Nithin Nayak Sujir Date: Tue, 30 Aug 2011 15:54:50 -0700 Subject: [PATCH] --- yaml --- r: 271041 b: refs/heads/master c: 26b2982f78c1fc6f486a67271b1d0a0d305dd54b h: refs/heads/master i: 271039: 9491b774fc569ff26188d826540ebb1dd7f3db1a v: v3 --- [refs] | 2 +- trunk/drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 0d648155d15a..5be6219e2e5f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c1c16bd51a29eea8843f20161ddd32cddc524142 +refs/heads/master: 26b2982f78c1fc6f486a67271b1d0a0d305dd54b diff --git a/trunk/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/trunk/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index ba88ddb4580b..886938d025cd 100644 --- a/trunk/drivers/scsi/bnx2fc/bnx2fc_fcoe.c +++ b/trunk/drivers/scsi/bnx2fc/bnx2fc_fcoe.c @@ -838,9 +838,9 @@ static void bnx2fc_indicate_netevent(void *context, unsigned long event, return; mutex_lock(&bnx2fc_dev_lock); list_for_each_entry_safe(interface, tmp, &if_list, list) { - if (interface->hba != hba) - continue; - __bnx2fc_destroy(interface); + if (interface->hba == hba && + interface->vlan_id == (vlan_id & VLAN_VID_MASK)) + __bnx2fc_destroy(interface); } mutex_unlock(&bnx2fc_dev_lock); return;