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:
parent
06b5a58e62
commit
bbde73eb81
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user