|
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.
|