dccp: fix memory leak during tear-down of unsuccessful connection request

am: 9e38375a4b

Change-Id: I365b84799d537368f2fc8629fd0c15a27d4dbbea
This commit is contained in:
Hannes Frederic Sowa
2017-03-22 12:01:10 +00:00
committed by android-build-merger

View File

@@ -749,6 +749,7 @@ static void ccid2_hc_tx_exit(struct sock *sk)
for (i = 0; i < hc->tx_seqbufc; i++)
kfree(hc->tx_seqbuf[i]);
hc->tx_seqbufc = 0;
dccp_ackvec_parsed_cleanup(&hc->tx_av_chunks);
}
static void ccid2_hc_rx_packet_recv(struct sock *sk, struct sk_buff *skb)