[riot-notifications] [RIOT-OS/RIOT] gnrc/nib: consolidate prefix removal code in _nib_offl_remove_prefix() (#16729)

Martine Lenders notifications at github.com
Tue Aug 24 13:10:45 CEST 2021

@miri64 commented on this pull request.

> +            if (ipv6_addr_match_prefix(&netif->ipv6.addrs[i],
+                                       &pfx->pfx) >= pfx->pfx_len) {
+                gnrc_netif_ipv6_addr_remove_internal(netif,
+                                                     &netif->ipv6.addrs[i]);
+            }

Isn't this a similar situation to #16557, where addresses belonging to a longer prefix match here and might be removed, because a shorter prefix is removed?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210824/c6416d10/attachment.htm>

More information about the notifications mailing list