1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc/network_layer/ipv6/nib
Benjamin Valentin 11e9b7c08f gnrc_ipv6_nib: only consider NC in gnrc_ipv6_nib_get_next_hop_l2addr()
Consider the following: A node tries to forward a packet to another
host for which it does not know the route yet. It assumes it to be
on-link and starts a neighbor solicitation, putting the node address
in the destinatio cache.

Later the route is known (via a second hop) but the host is still in
the NIB.

The result is that gnrc_ipv6_nib_get_next_hop_l2addr() ends up in the
"nib: %s is in NC or on-link, start address resolution" case and does
not attempt to resolve the route.

This results in the host remaining unreachable even though now a route
is present.
2021-07-22 13:36:53 +02:00
..
_nib-6ln.c sys/*: remove unneeded ENABLE_DEBUG 2020-10-23 11:29:57 +02:00
_nib-6ln.h gnrc_ipv6_nib: make ARO extra status codes also available without 6LN 2020-09-29 10:45:12 +02:00
_nib-6lr.c gnrc_ipv6_nib: prevent NULL pointer dereference on nib exhaustion 2020-12-08 20:41:06 +01:00
_nib-6lr.h gnrc/nib: don't define _set_rtr_adv() twice 2021-06-17 18:45:38 +02:00
_nib-arsm.c sys/*: remove unneeded ENABLE_DEBUG 2020-10-23 11:29:57 +02:00
_nib-arsm.h gnrc_ipv6_nib: add missing header includes 2020-09-08 12:53:29 +02:00
_nib-internal.c sys/*: remove unneeded ENABLE_DEBUG 2020-11-02 21:34:12 +01:00
_nib-internal.h all: adapt to moved sched defines 2020-11-23 16:56:34 +01:00
_nib-router.c sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
_nib-router.h gnrc/nib: honor CONFIG_GNRC_IPV6_NIB_ADV_ROUTER option 2021-06-17 18:45:38 +02:00
_nib-slaac.c sys/net/gnrc/netif: Make aac_mode a flag field 2021-06-29 19:06:22 +02:00
_nib-slaac.h gnrc/nib: Move GNRC_IPV6_NIB_CONF_SLAAC to 'CONFIG_' namespace 2020-03-31 18:07:05 +02:00
Kconfig treewide: change prefix for generated Kconfig symbols. 2020-08-31 09:37:09 +02:00
Makefile gnrc_ipv6_nib: initial import of internal NIB functions 2017-06-09 21:52:37 +02:00
nib_abr.c sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
nib_ft.c sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
nib_nc.c sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
nib_pl.c sys/net/gnrc/netif: Make aac_mode a flag field 2021-06-29 19:06:22 +02:00
nib.c gnrc_ipv6_nib: only consider NC in gnrc_ipv6_nib_get_next_hop_l2addr() 2021-07-22 13:36:53 +02:00