android_kernel_xiaomi_sm8350/drivers/scsi/libfc
Joe Eykholt 8abbe3a423 [SCSI] libfc: fix handling of incoming Discover Address (ADISC) requests
The local port facility has been replying to ADISC requests without
looking to see if the remote port is logged in.  This is incorrect.
An ADISC request requires PLOGI first.  It should be rejected if
the sending remote port is not logged in.

This is like other incoming requests that require login, all of
which should be handled in the remote port module.

Move the ADISC request handling from fc_lport.c to fc_rport.c.

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>
2009-09-10 12:08:02 -05:00
..
fc_disc.c [SCSI] libfc: Initialize fc_rport_identifiers inside fc_rport_create 2009-09-10 12:07:57 -05:00
fc_elsct.c [SCSI] libfc: improve debug messages for ELS response handlers 2009-09-10 12:07:59 -05:00
fc_exch.c [SCSI] fcoe, libfc: fully makes use of per cpu exch pool and then removes em_lock 2009-09-05 09:47:37 -05:00
fc_fcp.c [SCSI] libfc: change elsct to use FC_ID instead of rdata 2009-09-10 12:07:41 -05:00
fc_frame.c
fc_lport.c [SCSI] libfc: fix handling of incoming Discover Address (ADISC) requests 2009-09-10 12:08:02 -05:00
fc_rport.c [SCSI] libfc: fix handling of incoming Discover Address (ADISC) requests 2009-09-10 12:08:02 -05:00
Makefile