Skip to content
Snippets Groups Projects
Unverified Commit ea7f7c23 authored by Cenk Gündoğan's avatar Cenk Gündoğan Committed by GitHub
Browse files

Merge pull request #10978 from miri64/gnrc_ipv6_nib/fix/release-when-full

gnrc_ipv6_nib: release packet when NC entry can't be added
parents 0543016b fd3f806e
No related branches found
No related tags found
No related merge requests found
......@@ -1130,6 +1130,7 @@ static bool _resolve_addr(const ipv6_addr_t *dst, gnrc_netif_t *netif,
entry = _nib_nc_add(dst, (netif != NULL) ? netif->pid : 0,
GNRC_IPV6_NIB_NC_INFO_NUD_STATE_INCOMPLETE);
if (entry == NULL) {
gnrc_pktbuf_release(pkt);
return false;
}
#if GNRC_IPV6_NIB_CONF_ROUTER
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment