From: Arnaldo Carvalho de Melo Date: Wed, 24 Aug 2005 04:54:00 +0000 (-0700) Subject: [DCCP]: Call the HC exit routines at dccp_v4_destroy_sock X-Git-Tag: v2.6.14-rc1~1035^2~33 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8efa544f9c84919c047dc2f96e308c902e8fb1a4;p=linux-2.6-omap-h63xx.git [DCCP]: Call the HC exit routines at dccp_v4_destroy_sock Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 647e669a126..3cf2cbcdcaf 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c @@ -1303,6 +1303,8 @@ static int dccp_v4_destroy_sock(struct sock *sk) if (inet_csk(sk)->icsk_bind_hash != NULL) inet_put_port(&dccp_hashinfo, sk); + ccid_hc_rx_exit(dp->dccps_hc_rx_ccid, sk); + ccid_hc_tx_exit(dp->dccps_hc_tx_ccid, sk); dccp_ackpkts_free(dp->dccps_hc_rx_ackpkts); dp->dccps_hc_rx_ackpkts = NULL; ccid_exit(dp->dccps_hc_rx_ccid, sk);