diff options
author | gibbs <gibbs@FreeBSD.org> | 1995-08-05 06:59:17 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 1995-08-05 06:59:17 +0000 |
commit | 1df678461b6db6efcb1cef97367cc24bb226406b (patch) | |
tree | 0b3bad3d5365bd2b280988bdb88a8d64f44557b8 /share/me | |
parent | 5e2d56d556d82e5810424fb54b41cdc56395c970 (diff) | |
download | FreeBSD-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