summaryrefslogtreecommitdiffstats
path: root/share/me
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1995-08-05 06:59:17 +0000
committergibbs <gibbs@FreeBSD.org>1995-08-05 06:59:17 +0000
commit1df678461b6db6efcb1cef97367cc24bb226406b (patch)
tree0b3bad3d5365bd2b280988bdb88a8d64f44557b8 /share/me
parent5e2d56d556d82e5810424fb54b41cdc56395c970 (diff)
downloadFreeBSD-src-1df678461b6db6efcb1cef97367cc24bb226406b.zip
FreeBSD-src-1df678461b6db6efcb1cef97367cc24bb226406b.tar.gz
Fix two race conditions.
The first could occur because the original code would continue to reset the SCSIID register while waiting for a selection. This could potentially conflict with a reconnect since a successfull reconnect will also set the SCSIID register. The fix is to use a separate wait loop after starting a selection (as was done a few revisions ago). The second probably never happens, but it was possible for a target to reconnect while there was a pending SCB on the waiting list and not get noticed. The fix was to remove a supurflous check of the scb waiting list.
Diffstat (limited to 'share/me')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud