Re: [tcpdump-workers] HP-UX crash on inject while receiving

2006-07-28 Thread Guy Harris
On Jul 28, 2006, at 12:51 PM, Harley Stenzel wrote: Show that this happens when 2 threads use pcap_t at the same time: libpcap is, for better or worse, not thread-safe, in the sense that no locking is done on the pcap_t structure to prevent concurrent accesses from stepping on each other,

[tcpdump-workers] HP-UX crash on inject while receiving

2006-07-28 Thread Harley Stenzel
Greetings-- I'm seeing something quite strange. I have a libpcap stack application. One thread may send while another thread both receives and sends. (Sends in response to a packet, and send in response to a timeout). This works fine on Solaris, which also uses DLPI. On HP-UX, transmission f