[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_nib: add full RFC4862 DAD support (#8823)

benpicco notifications at github.com
Tue Jun 15 15:03:36 CEST 2021


@benpicco commented on this pull request.



> @@ -838,9 +837,30 @@ static void _handle_nbr_sol(gnrc_netif_t *netif, const ipv6_hdr_t *ipv6,
     DEBUG("     - Destination address: %s\n",
           ipv6_addr_to_str(addr_str, &ipv6->dst, sizeof(addr_str)));
 #if GNRC_IPV6_NIB_CONF_SLAAC
-    /* TODO SLAAC behavior */
+    gnrc_netif_t *tgt_netif = gnrc_netif_get_by_ipv6_addr(&nbr_sol->tgt);

What I see is the following: I have a node with two interfaces

6. `2001:16b8:45b5:9afa:5884:3bff:fe4f:a902`
7. `2001:16b8:45b5:9af8:5884:3bff:fe4f:a903`

Now a node connected to `7` wants to send to `2001:16b8:45b5:9afa:5884:3bff:fe4f:a902` and issues a neighbor solicitation. `6` receives it and finds that "Target address 2001:16b8:45b5:9afa:5884:3bff:fe4f:a902 is not assigned to the local interface" which is obviously not true. 


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/8823#discussion_r651768593
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210615/989293b2/attachment.htm>


More information about the notifications mailing list