[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



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