/* Free the endpoint structure. Delay cleanup until * all users have released their reference count on this structure. */ void sctp_endpoint_free(struct sctp_endpoint *ep) { ep->base.dead = 1; ep->base.sk->sk_state = SCTP_SS_CLOSED; /* Unlink this endpoint, so we can't find it again! */ sctp_unhash_endpoint(ep); sctp_endpoint_put(ep); }
void sctp_endpoint_free(struct sctp_endpoint *ep) { ep->base.dead = 1; ep->base.sk->sk_state = SCTP_SS_CLOSED; /* */ sctp_unhash_endpoint(ep); sctp_endpoint_put(ep); }
/* Free the endpoint structure. Delay cleanup until * all users have released their reference count on this structure. */ void sctp_endpoint_free(struct sctp_endpoint *ep) { ep->base.dead = 1; sctp_endpoint_put(ep); }