]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libfc: send point-to-poin FLOGI LS_ACC to assigned D_DID
authorJoe Eykholt <jeykholt@cisco.com>
Sat, 13 Mar 2010 00:08:12 +0000 (16:08 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:23:37 +0000 (09:23 -0500)
commit71c68888495afa9ca222c782e5814a5f3dd8868d
treeb3f2e03df96a0968aa4ff0c434cdfca6134a8eb2
parentb19cf79fdc06d3030f0a7f8b2b25fa2f16fd5a90
[SCSI] libfc: send point-to-poin FLOGI LS_ACC to assigned D_DID

The method we've been using for point-to-point mode requires
that the LS_ACC for the FLOGI uses the D_ID and S_ID assigned
to the remote port and local port, not those in the exchange.

This is not the correct method, but for now, it's what works
with the old target, as well as with new targets based on libfc.

This patch changes the addresses used accordingly.

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_lport.c