tcpdump mailing list archives
Re: HP-UX crash on inject while receiving
From: Rick Jones <rick.jones2 () hp com>
Date: Mon, 31 Jul 2006 09:45:42 -0700
Harley Stenzel wrote:
On 7/28/06, Guy Harris <guy () alum mit edu> wrote: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,Good to know, thanks.Using *different* pcap_t's in two threads should work, although pcap- dlpi.c has static variables that it uses on HP-UX (ctlbuf and ctl), which is a clear botch unless getmsg() is guaranteed not to modify ctl.Also good to know. Although with the one promiscous STREAMS accessor per device on HP-UX, this doesn't suggest a solution.
I thought that one thread was send/recv and the other was send. The "send only" thread ostensibly would not need to be in promiscuous mode right?
Still, do feel free to excercise your UX support contract and submit an ER against Streams to enable support for multiple promiscuous streams per interface.
rick jones - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
Current thread:
- HP-UX crash on inject while receiving Harley Stenzel (Jul 28)
- Re: HP-UX crash on inject while receiving Guy Harris (Jul 28)
- Re: HP-UX crash on inject while receiving Harley Stenzel (Jul 31)
- Re: HP-UX crash on inject while receiving Rick Jones (Jul 31)
- Re: HP-UX crash on inject while receiving Harley Stenzel (Jul 31)
- Re: HP-UX crash on inject while receiving Guy Harris (Jul 28)