getaddrinfo - should accept IPPROTO_SCTP no?

2006-10-13 Thread Rick Jones
I made some recent changes to netperf to workaround what is IMO a bug in the Solaris getaddrinfo() where it will clear the ai_protocol field even when one gives it a protocol in the hints. [If you happen to be trying to use the test-specific -D to set TCP_NODELAY in netperf on Solaris, you

Re: getaddrinfo - should accept IPPROTO_SCTP no?

2006-10-13 Thread David Miller
From: Rick Jones [EMAIL PROTECTED] Date: Fri, 13 Oct 2006 14:30:12 -0700 I'm about to see about concocting an additional workaround in netperf for this, but thought I'd ask if my assumption - that getaddrinfo() returning -7 when given IPPROTO_SCTP - is indeed a bug in getaddrinfo(). Or am I

Re: getaddrinfo - should accept IPPROTO_SCTP no?

2006-10-13 Thread Ian McDonald
On 10/14/06, Rick Jones [EMAIL PROTECTED] wrote: I made some recent changes to netperf to workaround what is IMO a bug in the Solaris getaddrinfo() where it will clear the ai_protocol field even when one gives it a protocol in the hints. [If you happen to be trying to use the test-specific -D

Re: getaddrinfo - should accept IPPROTO_SCTP no?

2006-10-13 Thread Sridhar Samudrala
On Fri, 2006-10-13 at 15:09 -0700, David Miller wrote: From: Rick Jones [EMAIL PROTECTED] Date: Fri, 13 Oct 2006 14:30:12 -0700 I'm about to see about concocting an additional workaround in netperf for this, but thought I'd ask if my assumption - that getaddrinfo() returning -7 when