aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-24 00:54:00 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 19:05:38 -0400
commit8efa544f9c84919c047dc2f96e308c902e8fb1a4 (patch)
treec1df76c8e03900c0d6f13f0486e3fc6f05b0c51b /net
parentdc40c7bc76054f5e4382835ca2bafb895b993a8a (diff)
[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')
-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 647e669a1266..3cf2cbcdcafd 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -1303,6 +1303,8 @@ static int dccp_v4_destroy_sock(struct sock *sk)
1303 if (inet_csk(sk)->icsk_bind_hash != NULL) 1303 if (inet_csk(sk)->icsk_bind_hash != NULL)
1304 inet_put_port(&dccp_hashinfo, sk); 1304 inet_put_port(&dccp_hashinfo, sk);
1305 1305
1306 ccid_hc_rx_exit(dp->dccps_hc_rx_ccid, sk);
1307 ccid_hc_tx_exit(dp->dccps_hc_tx_ccid, sk);
1306 dccp_ackpkts_free(dp->dccps_hc_rx_ackpkts); 1308 dccp_ackpkts_free(dp->dccps_hc_rx_ackpkts);
1307 dp->dccps_hc_rx_ackpkts = NULL; 1309 dp->dccps_hc_rx_ackpkts = NULL;
1308 ccid_exit(dp->dccps_hc_rx_ccid, sk); 1310 ccid_exit(dp->dccps_hc_rx_ccid, sk);