From a285c735303b5a89ad13494850c252c85c45da4d Mon Sep 17 00:00:00 2001 From: Vish Somasundaram Date: Thu, 15 Apr 2021 14:57:19 -0700 Subject: [PATCH] This change will free up the odp packet buffers stuck in tcp segment as part of tcp reassembly list --- src/ofp_tcp_reass.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ofp_tcp_reass.c b/src/ofp_tcp_reass.c index b26cac4a..8dc9ee6f 100644 --- a/src/ofp_tcp_reass.c +++ b/src/ofp_tcp_reass.c @@ -140,6 +140,7 @@ ofp_tcp_reass_flush(struct tcpcb *tp) while ((qe = OFP_LIST_FIRST(&tp->t_segq)) != NULL) { OFP_LIST_REMOVE(qe, tqe_q); + odp_packet_free(qe->tqe_m); uma_zfree(V_tcp_reass_zone, qe); tp->t_segqlen--; }