[Bug 200323] BPF userland misuse can crash the system

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 31 22:31:28 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200323

--- Comment #21 from Luiz Otavio O Souza,+55 (14) 99772-1255 <loos at 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.


More information about the freebsd-net mailing list