[riot-commits] [RIOT-OS/RIOT] fa8193: tests: unittests: extend gnrc_ipv6_nib unittests f...

Martine Lenders authmillenon at gmail.com
Thu Nov 9 21:42:48 CET 2017


  Branch: refs/heads/gnrc_netif2_integration/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: fa81932a8f9fe934eda26cea67f5364f00a3a34f
      https://github.com/RIOT-OS/RIOT/commit/fa81932a8f9fe934eda26cea67f5364f00a3a34f
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2017-11-09 (Thu, 09 Nov 2017)

  Changed paths:
    M tests/unittests/tests-gnrc_ipv6_nib/tests-gnrc_ipv6_nib-ft.c
    M tests/unittests/tests-gnrc_ipv6_nib/tests-gnrc_ipv6_nib-pl.c

  Log Message:
  -----------
  tests: unittests: extend gnrc_ipv6_nib unittests for holey NIB

When there are holes in the NIB (e.g. when entries were removed)
currently the NIB crashes the system due to a failed assertion.
This commit tests this behavior (`DEVELHELP` needs to be activated to
test this behavior). A fix will follow.


  Commit: 72db5e48f0ccf23b795ccb79f701b528d1fd6d03
      https://github.com/RIOT-OS/RIOT/commit/72db5e48f0ccf23b795ccb79f701b528d1fd6d03
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2017-11-09 (Thu, 09 Nov 2017)

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

  Log Message:
  -----------
  gnrc_ipv6_nib: fix for 'holey' NIB

When there are holes in the NIB (e.g. when entries were removed)
currently the NIB crashes the system due to a failed assertion
(`DEVELHELP` needs to be activated to test this behavior).

This fixes this behavior by making the assertion a check that is always
compiled in.


  Commit: b187c047e98e305c14c1ebcc2cab7018b5f86597
      https://github.com/RIOT-OS/RIOT/commit/b187c047e98e305c14c1ebcc2cab7018b5f86597
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2017-11-09 (Thu, 09 Nov 2017)

  Changed paths:
    M sys/net/gnrc/network_layer/ipv6/nib/nib_ft.c
    M sys/net/gnrc/network_layer/ipv6/nib/nib_pl.c
    M tests/unittests/tests-gnrc_ipv6_nib/tests-gnrc_ipv6_nib-ft.c
    M tests/unittests/tests-gnrc_ipv6_nib/tests-gnrc_ipv6_nib-pl.c

  Log Message:
  -----------
  Merge pull request #7926 from miri64/gnrc_ipv6_nib/fix/iter-over-holes

 gnrc_ipv6_nib: fix for 'holey' NIB


Compare: https://github.com/RIOT-OS/RIOT/compare/fb7fcfdd10db...b187c047e98e


More information about the commits mailing list