]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] bnx2fc: Prevent creating of NPIV port with duplicate WWN
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Fri, 5 Aug 2011 00:38:51 +0000 (17:38 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 27 Aug 2011 14:35:49 +0000 (08:35 -0600)
commit861efc547ce517e3d75a507ebc2268e6a0dfa767
treea196faabc2738d6d655d0d751d1a9c005d9a3e5d
parent5243960777a8d5f0dfabd0e67035d13ac6eaf304
[SCSI] bnx2fc: Prevent creating of NPIV port with duplicate WWN

This patch adds a validation step before allowing creation of a new NPIV port.
It checks whether the WWPN passed for the new NPIV port to be created is unique
for the given physical port.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c