1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

gnrc_icmpv6: release on wrong checksum

This commit is contained in:
Martine Lenders 2019-01-24 14:57:36 +01:00
parent 06b5a58e62
commit bbde73eb81

View File

@ -78,7 +78,7 @@ void gnrc_icmpv6_demux(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt)
if (_calc_csum(icmpv6, ipv6, pkt)) {
DEBUG("icmpv6: wrong checksum.\n");
/* don't release: IPv6 does this */
gnrc_pktbuf_release(pkt);
return;
}