- 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:
Randall Stewart 2008-08-27 13:13:35 +00:00
parent b3c9746474
commit 4a16c2c883

View File

@ -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;
}
}