OpenSolaris

Printable Version Enter a New Search
Bug ID 6557471
Synopsis SCTP kernel interface needs to be more robust
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:tcp-ip
Keywords rtiq_reviewed
Responsible Engineer Kacheong Poon
Reported Against
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_68
Fixed In snv_68
Release Fixed solaris_nevada(snv_68) , solaris_10u5(s10u5_08) (Bug ID:2157070)
Related Bugs 6578284 , 5014658
Submit Date 15-May-2007
Last Update Date 22-January-2008
Description
Currently, not all the SCTP kernel interface calls check for
invalid state.  This makes it hard for upper layer to avoid 
problem.  For example, suppose an association is aborted and
the upper layer disconnected upcall has been called.  Since the
upcall is asynchronous, the upper layer may be in the middle 
of calling a SCTP kernel interface, such as sctp_set_opt().  
But sctp_set_opt() does not check for the disconnected state.
And if the option being set is SCTP_PEER_ADDR_PARAMS, the
system may panic as this option may reference the already
freed heartbeat mblk.
Work Around
N/A
Comments
N/A