mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #10860 from miri64/gnrc_ipv6_nib/fix/release-when-queue-full
gnrc_ipv6_nib: release when not queuable on AR
This commit is contained in:
commit
8984a9b80c
@ -1171,6 +1171,12 @@ static bool _resolve_addr(const ipv6_addr_t *dst, gnrc_netif_t *netif,
|
||||
}
|
||||
gnrc_pktqueue_add(&entry->pktqueue, queue_entry);
|
||||
}
|
||||
else {
|
||||
DEBUG("nib: can't allocate entry for packet queue "
|
||||
"dropping packet\n");
|
||||
gnrc_pktbuf_release(pkt);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else {
|
||||
gnrc_icmpv6_error_dst_unr_send(ICMPV6_ERROR_DST_UNR_ADDR,
|
||||
|
Loading…
Reference in New Issue
Block a user