MINOR: quic: RX packets memory leak

Missing RX packet reference counter decrementation at the lowest level.
This leaded the memory reserved for RX packets to never be released.
This commit is contained in:
Frédéric Lécaille 2021-09-22 15:10:49 +02:00 committed by Amaury Denoyelle
parent ebc3fc1509
commit 310d1bd08f

View file

@ -4610,6 +4610,7 @@ static ssize_t quic_dgram_read(char *buf, size_t len, void *owner,
if (!pkt_len)
break;
}
quic_rx_packet_refdec(pkt);
} while (pos < end);
/* Increasing the received bytes counter by the UDP datagram length