]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2fc: Validate vlan id in NETDEV_UNREGISTER handler
authorNithin Nayak Sujir <nsujir@broadcom.com>
Tue, 30 Aug 2011 22:54:50 +0000 (15:54 -0700)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 01:36:49 +0000 (09:36 +0800)
commit7a3a32aa146da2d4f1da01344f2f0d9ca9968491
tree3e56ce6869328cf488965b3effee3d662dff59b7
parentbd5ea07e6fa81f235a6b18da80f3d0ca5c5d39fa
bnx2fc: Validate vlan id in NETDEV_UNREGISTER handler

When bnx2fc receives an UNREGISTER event on a vlan interface it calls
destroy on all interfaces that matches the physical interface. Add
vlan_id check to destroy only the vlan interface that generated the
event.

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
(cherry picked from commit 26b2982f78c1fc6f486a67271b1d0a0d305dd54b)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c