Date: Mon, 28 Apr 2003 20:22:40 -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/wi if_wi.c Message-ID: <200304290322.h3T3MeKi067783@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2003/04/28 20:22:40 PDT
FreeBSD src repository
Modified files:
sys/dev/wi if_wi.c
Log:
Don't hold a driver lock across bus_teardown_intr. Jhb points out
that one cannot generally hold a lock and call bus_teardown_intr.
This is race free with wi_intr because bus_teardown_intr won't allow
wi_intr to be called after it returns.
# jeff hsu points out that there might be a race between this unlock
# and wi_start. While that may be true also, it won't impact this commit.
Submitted by: jhb
Revision Changes Path
1.140 +1 -2 src/sys/dev/wi/if_wi.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304290322.h3T3MeKi067783>
