[SCTP]: Unhash the endpoint in sctp_endpoint_free().
authorVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 21 Jul 2006 21:48:26 +0000 (14:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jul 2006 21:48:26 +0000 (14:48 -0700)
commitcfdeef3282705a4b872d3559c4e7d2561251363c
tree09d11c52f22b383284f5beb17e63965a6e9ea78f
parent37fa6878bcd54c25fbe6ebb3da5cf0d3a4bc7a65
[SCTP]: Unhash the endpoint in sctp_endpoint_free().

This prevents a race between the close of a socket and receive of an
incoming packet.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/endpointola.c