- When we close a socket with pending assoc's that are still
shutting down, NULL out the socket pointer so we won't ever refer to a dead socket. Obtained from: Neil Wilson
This commit is contained in:
parent
b3c9746474
commit
4a16c2c883
@ -3275,6 +3275,7 @@ sctp_inpcb_free(struct sctp_inpcb *inp, int immediate, int from)
|
||||
#ifdef SCTP_LOG_CLOSING
|
||||
sctp_log_closing(inp, NULL, 2);
|
||||
#endif
|
||||
inp->sctp_socket = NULL;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user