[sctp-dev] Code Review 7004439: SCTP_SET_PEER_PRIMARY_ADDR throws SocketException on Linux

Chris Hegarty chris.hegarty at oracle.com
Wed Dec 8 08:20:01 PST 2010


Hi Michael,

The native sockaddr is not being correctly set in sctp_setpeerprim. 
Also, the value of SCTP_SET_PEER_PRIMARY_ADDR should not be an 
IPv4-mapped address for IPv4 addresses on lksctp. It should be an IPv4 
address, in a similar way to how we handle addresses being passed to bindx.

Webrev:
   http://cr.openjdk.java.net/~chegar/7004439/webrev.00/webrev/

Thanks,
-Chris.


More information about the sctp-dev mailing list