libfc: Reject PLOGI from nodes with incompatible role
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 18 May 2013 04:01:36 +0000 (04:01 +0000)
committerRobert Love <robert.w.love@intel.com>
Tue, 9 Jul 2013 16:29:14 +0000 (09:29 -0700)
commite0335f67a281cb8eb11868e614ee9390fbbe9b1d
treeff3fd672241c138b686bd155917ff21c49f6f60d
parent8bb495e3f02401ee6f76d1b1d77f3ac9f079e376
libfc: Reject PLOGI from nodes with incompatible role

Reject a PLOGI from a node with an incompatible role,
that is, initiator-to-initiator or target-to-target.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Reviewed-by: Yi Zou <yi.zou@intel.com>
Tested-by: Jack Morgan <jack.morgan@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
drivers/scsi/libfc/fc_rport.c