tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sctp & ipv4-mapped ipv6 fix



Tyler Retzlaff wrote:
>On Mon, Feb 15, 2016 at 04:51:37PM +0000, Robert Swindells wrote:
>> 
>> Tyler Retzlaff wrote:
>> 
>> Looking at RFC 4291, I would agree that it is using the wrong offsets.
>> 
>> I confess that I had not tried building sctp without INET6 until now,
>> it doesn't compile at present.
>> 
>> I guess that if all the calls to in6_sin_2_v4mapsin6() were inside
>> #ifdef INET6 conditional code then adding a reference to netinet6
>> from netinet is ok.
>
>It seems to be what other netinet/<proto> are doing.  But you're right
>I'll add the #ifdef INET6

Maybe just go with the patch you posted for now.

I have made a start on adding #ifdef INET6 to the existing code, I can
have a look at it again after your patch has gone in.

Robert Swindells


Home | Main Index | Thread Index | Old Index