[SCSI] libfc: recode incoming PRLI handling
authorJoe Eykholt <jeykholt@cisco.com>
Sat, 13 Mar 2010 00:07:36 +0000 (16:07 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:33 +0000 (09:23 -0500)
commita2f6a024e1a7ce37f424a567733501d98b8555d7
treedf6fd29c5b7b8459077c09be3dac6829b22ae58a
parentfc193172e63af2c749e198816a1ee694dd6395e6
[SCSI] libfc: recode incoming PRLI handling

Reduce indentation in fc_rport_recv_prli_req() using gotos.
Also add payload length checks.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_rport.c