[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Marcus Glocker <mglocker_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Fri, 25 Jan 2008 09:14:56 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: mglocker_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/01/25 09:14:56
Modified files:
sys/net : bpf.c
Log message:
Prevent USB network devices to generate a page fault trap when detached
while UP and holding an open bpf handler by checking bpfilter_lookup()
for returning NULL in bpfpoll(). Added an XXX comment which reminds us
to recheck why this race condition happens in conjunction with the USB
stack.
Commented by miod@ and thib@ (would prefer to directly fix race condition,
if this is possible at all).
lot of help and OK claudio@
Visit your host, monkey.org