Date: Mon, 8 Sep 2003 16:18:37 -0700 From: Guy Harris <guy@alum.mit.edu> To: Dmitry Morozovsky <marck@rinet.ru> Cc: hackers@freebsd.org Subject: Re: if bpf fd's select()able? Message-ID: <C69746DA-E252-11D7-943F-000A958097E4@alum.mit.edu>
next in thread | raw e-mail | index | archive | help
> However, my tests show that select()ing bpf fd does not lead to > trigger packets > available to bpf filter; the process hangs in select state while > parallel > tcpdump process shows packets desired *and* is in bpf state. See PR kern/22063 "bpf when used with the select system call with timeout doesn't forward packets on timeout". That *should* work in 4-STABLE, as that fix is in 4-STABLE. You should not have to turn BIOCIMMEDIATE on (tcpdump doesn't).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C69746DA-E252-11D7-943F-000A958097E4>