]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] 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)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 17 Sep 2011 14:03:18 +0000 (18:03 +0400)
commita3c615a3ce1c745528ffc0f07964909806b5beaa
tree4e7a639854bd6cb0cef5e147196bad7625a671d0
parentcfd57bbaf34610d1a95a8ad1845d3c634114b897
[SCSI] 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>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c