OpenSolaris

Printable Version Enter a New Search
Bug ID 6658850
Synopsis 1-N sctp socket in Nevada fails to return EADDRINUSE when sendmsg() called without assocID specified
State 10-Fix Delivered (Fix available in build)
Category:Subcategory network:sctp
Keywords
Responsible Engineer Kacheong Poon
Reported Against snv_81
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_99
Fixed In snv_99
Release Fixed solaris_nevada(snv_99)
Related Bugs 5014658
Submit Date 4-February-2008
Last Update Date 13-December-2009
Description
sendmsg() for 1-N sctp socket where an established connection exists, but called without an aid (association ID) must return EADDRINUSE.

This behaves as intended on S10u4 but sendmsg() erroneously succeeds on Navada, and
a second association is established.

For an 1-N style socket, the aid defaults to 0 if not specified.  Since the
aid is 0 and the caller specifies an address, the socket layer treats
this as a request to create an association to the specified address.

Since the association already exists, EADDRINUSE should be returned. 
Instead in Nevada a second association is created for the same address.
Work Around
N/A
Comments
N/A