diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2009-08-25 14:03:52 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-10 12:08:02 -0500 |
commit | 8abbe3a42324264c9d5cc4e7c3d265b5be6d82d6 (patch) | |
tree | 72fa0c25fa4337ef0be788a76fdad37615fb7f4c /include/scsi/fc_encode.h | |
parent | 370c3bd05cf02afabea9cd3f2de66202d6b516dc (diff) | |
download | linux-8abbe3a42324264c9d5cc4e7c3d265b5be6d82d6.tar.bz2 |
[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>
Diffstat (limited to 'include/scsi/fc_encode.h')
0 files changed, 0 insertions, 0 deletions