aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-23 21:54:00 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 16:05:38 -0700
commit8efa544f9c84919c047dc2f96e308c902e8fb1a4 (patch)
treec1df76c8e03900c0d6f13f0486e3fc6f05b0c51b /net/dccp
parentdc40c7bc76054f5e4382835ca2bafb895b993a8a (diff)
downloadkernel_samsung_crespo-8efa544f9c84919c047dc2f96e308c902e8fb1a4.zip
kernel_samsung_crespo-8efa544f9c84919c047dc2f96e308c902e8fb1a4.tar.gz
kernel_samsung_crespo-8efa544f9c84919c047dc2f96e308c902e8fb1a4.tar.bz2
[DCCP]: Call the HC exit routines at dccp_v4_destroy_sock
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/ipv4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index 647e669..3cf2cbc 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);