]> git.baikalelectronics.ru Git - kernel.git/commit
addrconf: add functionality to check on rpl requirements
authorAlexander Aring <alex.aring@gmail.com>
Fri, 27 Mar 2020 22:00:19 +0000 (18:00 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 05:30:57 +0000 (22:30 -0700)
commitf6632e23cb4f53ac2771c8b795b19a20c1925211
treec4fe6a51693fc24c9619626f663709570b1bf4cf
parent89b2b337e65642a45b3c837943d6082c4de4969a
addrconf: add functionality to check on rpl requirements

This patch adds a functionality to addrconf to check on a specific RPL
address configuration. According to RFC 6554:

To detect loops in the SRH, a router MUST determine if the SRH
includes multiple addresses assigned to any interface on that
router. If such addresses appear more than once and are separated by
at least one address not assigned to that router.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/addrconf.h
net/ipv6/addrconf.c