diff options
-rw-r--r-- | net/dccp/ipv4.c | 2 |
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); |