Date: Mon, 13 Oct 2003 22:25:32 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/owi if_owi.c Message-ID: <200310140525.h9E5PWlD014241@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310140525.h9E5PWlD014241>