From 153f2f9e95db39a420c6e9dd23bfe620d3b9be5b Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Mon, 10 Mar 2014 19:45:30 +0100 Subject: [PATCH] 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. --- sys/net/network_layer/sixlowpan/ip.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/net/network_layer/sixlowpan/ip.c b/sys/net/network_layer/sixlowpan/ip.c index bf7f31ddbc..188f83d91d 100644 --- a/sys/net/network_layer/sixlowpan/ip.c +++ b/sys/net/network_layer/sixlowpan/ip.c @@ -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; }