cvs commit: src/sys/dev/owi if_owi.c
Warner Losh
imp at FreeBSD.org
Mon Oct 13 22:25:32 PDT 2003
imp 2003/10/13 22:25:32 PDT
FreeBSD src repository
Modified files:
sys/dev/owi if_owi.c
Log:
Fix a race condition in owi. If you eject a card, then the wi_inquire
timeout would continue to happen: boom! Fix this[*] by timing out earlier.
[*] almost fixes the race on unload: wi_inquire could be running when
untimeout is called, and there's no way to know when it has actually
returned. This race is very rare and hard to lose.
Submitted by: scottl
Revision Changes Path
1.2 +2 -2 src/sys/dev/owi/if_owi.c
More information about the cvs-src
mailing list