Skip to content

Commit

Permalink
gnrc_ndp_internal: add missing unlock when the pktbuf is full
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonezawa-T2 committed Dec 10, 2015
1 parent 0981896 commit 4466bab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ void gnrc_ndp_internal_send_rtr_adv(kernel_pid_t iface, ipv6_addr_t *src, ipv6_a
else {
DEBUG("ndp rtr: error allocating PIO\n");
gnrc_pktbuf_release(pkt);
mutex_unlock(&ipv6_iface->mutex);
return;
}
}
Expand Down

0 comments on commit 4466bab

Please sign in to comment.