Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 2015 22:31:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 200323] BPF userland misuse can crash the system
Message-ID:  <bug-200323-2472-ibLNGisANQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-200323-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-200323-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200323

--- Comment #21 from Luiz Otavio O Souza,+55 (14) 99772-1255 <loos@FreeBSD.org> ---
(In reply to Guy Helmer from comment #20)

I studied this code (a lot) and found that some of sleeps are unnecessary.

The cases we have to protect are: setting a new filter, setting a new interface
and the flush/reset of buffers. The other cases can be dealt with some extra
caution while handling the buffers (under the descriptor lock).

This should cover your previous issues while still permit that we eliminate
some of the sleeps.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200323-2472-ibLNGisANQ>