]> 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)
commit46329dc197845b7028e4fe9eef1aeaee2a1f2f09
treec4fe6a51693fc24c9619626f663709570b1bf4cf
parent2a0435c08210896f8a3d5d75bff7296d55db9cc7
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