aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2009-08-25 14:02:54 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-09-10 12:07:56 -0500
commit935d0fce44b906268b8a29de4e72ebb57a3a06d8 (patch)
tree359f91d64556d06964b418b77b2a25f4f89c50d1 /include/scsi
parent[SCSI] libfc: clean up point-to-point discovery code. (diff)
downloadlinux-dev-935d0fce44b906268b8a29de4e72ebb57a3a06d8.tar.xz
linux-dev-935d0fce44b906268b8a29de4e72ebb57a3a06d8.zip
[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>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions