1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

notify lowpan_transfer when IP packet is not routable

The IP process silently discarded an unroutable packet without replying to the 6LoWPAN layer, causing that thread to starve.
This commit is contained in:
Oleg Hahm 2014-03-10 19:45:30 +01:00
parent 0c9fd83693
commit 153f2f9e95

View File

@ -421,6 +421,9 @@ void ipv6_process(void)
}
if ((dest == NULL) || ((--ipv6_buf->hoplimit) == 0)) {
DEBUG("!!! Packet not for me, routing handler is set, but I "\
" have no idea where to send or the hop limit is exceeded.\n");
msg_reply(&m_recv_lowpan, &m_send_lowpan);
continue;
}