linux-stable/drivers/scsi/libfc
Joe Eykholt 935d0fce44 [SCSI] libfc: don't do discovery before callback is set
It's possible to "restart" discovery before it was started if
an RSCN is received early enough.  We were jumping to 0
due to the disc_callback function pointer not getting set.

Don't restart discovery if disc_callback is NULL.

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:07:56 -05:00
..
fc_disc.c [SCSI] libfc: don't do discovery before callback is set 2009-09-10 12:07:56 -05:00
fc_elsct.c [SCSI] libfc: change elsct to use FC_ID instead of rdata 2009-09-10 12:07:41 -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 [SCSI] libfc: A modular Fibre Channel library 2008-12-29 11:24:33 -06:00
fc_lport.c [SCSI] libfc: clean up point-to-point discovery code. 2009-09-10 12:07:53 -05:00
fc_rport.c [SCSI] libfc: move rport_lookup into fc_rport.c 2009-09-10 12:07:47 -05:00
Makefile [SCSI] libfc: A modular Fibre Channel library 2008-12-29 11:24:33 -06:00