[riot-commits] [RIOT-OS/RIOT] 8c8b6f: gnrc_ipv6_nib_6ln: do not mark non-link-local dire...

Martine Lenders authmillenon at gmail.com
Mon Feb 19 15:28:10 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 8c8b6f9494750184fc9de3025ca9d1817f3c2d4d
      https://github.com/RIOT-OS/RIOT/commit/8c8b6f9494750184fc9de3025ca9d1817f3c2d4d
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M sys/net/gnrc/network_layer/ipv6/nib/nib.c

  Log Message:
  -----------
  gnrc_ipv6_nib_6ln: do not mark non-link-local directly VALID

The whole address registration looses its point if all addresses are
marked valid from the get-go. With this fix non-link-local addresses
are first marked TENTATIVE and only after successful registration
marked as VALID. Link-local addresses are assumed to always be VALID.


  Commit: e11550042c07e436b20133f2d2795f09b276ccd8
      https://github.com/RIOT-OS/RIOT/commit/e11550042c07e436b20133f2d2795f09b276ccd8
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M sys/include/net/gnrc/netif/flags.h
    M sys/net/gnrc/network_layer/ipv6/nib/nib.c

  Log Message:
  -----------
  gnrc_ipv6_nib_6ln: only register addresses not VALID yet

With the previous fix, we only have to register addresses that are not
VALID yet on reception of router advertisements. This removes the need
for the hacky `GNRC_NETIF_FLAGS_6LO_ADDRS_REG` flag that was only
introduced to prevent unnecessary re-registration.


  Commit: 8d98447c36f5a0817d5d503c4a1d62b4b255597d
      https://github.com/RIOT-OS/RIOT/commit/8d98447c36f5a0817d5d503c4a1d62b4b255597d
  Author: Martine Lenders <mail at martine-lenders.eu>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M tests/gnrc_ipv6_nib_6ln/main.c

  Log Message:
  -----------
  tests: adapt gnrc_ipv6_nib_6ln test for new behavior


  Commit: 26ad044e12bf9e298dbf8fd39c24644087cba2de
      https://github.com/RIOT-OS/RIOT/commit/26ad044e12bf9e298dbf8fd39c24644087cba2de
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M sys/include/net/gnrc/netif/flags.h
    M sys/net/gnrc/network_layer/ipv6/nib/nib.c
    M tests/gnrc_ipv6_nib_6ln/main.c

  Log Message:
  -----------
  Merge pull request #8563 from miri64/gnrc_ipv6_nib/fix/6lo-tentative

 gnrc_ipv6_nib_6ln: do not mark non-link-local addresses directly VALID


Compare: https://github.com/RIOT-OS/RIOT/compare/c38e90127373...26ad044e12bf


More information about the commits mailing list