> On Wed, 2002-01-09 at 01:00, Guy Harris wrote:
> Are you talking about the bug where polling() a BPF devices won't return
> until the device "read buffer" is full

Yes.

> (only happening when linking to libc_r it seem) ?

No.  It happens even if you don't link with "-lc_r", but as the current
"-lc_r" on {Free,Net,Open}BSD is a user-mode library using "select()" or
"poll()" in its main loop, one consequence of the bug is that BPF (and
hence libpcap) don't work correctly in multi-threaded programs.

OpenBSD has, I think, had a fix for this for a while, and I think a fix
was checked into FreeBSD -current recently and MFCed.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to