[riot-commits] [RIOT-OS/RIOT] cc0101: 6lowpan: do garbage collect unreachable NCEs

Oleg Hahm oleg at hobbykeller.org
Thu Sep 24 17:57:18 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: cc0101472e7f7eafb973898c3a5f2f5b27b8e512
      https://github.com/RIOT-OS/RIOT/commit/cc0101472e7f7eafb973898c3a5f2f5b27b8e512
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2015-09-24 (Thu, 24 Sep 2015)

  Changed paths:
    M sys/net/gnrc/network_layer/ndp/gnrc_ndp.c

  Log Message:
  -----------
  6lowpan: do garbage collect unreachable NCEs

RFC6775 says "if NUD on the router determines that the host is UNREACHABLE (based on the logic in [RFC4861]), the NCE SHOULD NOT be deleted but rather retained until the Registration Lifetime expires." Since this is a "SHOULD NOT" and not a "MUST NOT", we can still remove these NCEs to circumvent NCEs going into UNREACHABLE and never leave this state again. Actually removing these entries from the cache seems also be the better choice for memory constraint device.


  Commit: aba11407f196a23c7165db209afa49bd861eaa1e
      https://github.com/RIOT-OS/RIOT/commit/aba11407f196a23c7165db209afa49bd861eaa1e
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2015-09-24 (Thu, 24 Sep 2015)

  Changed paths:
    M sys/net/gnrc/network_layer/ndp/gnrc_ndp.c

  Log Message:
  -----------
  Merge pull request #3957 from OlegHahm/6lowpan_DO_gc

6lowpan: do garbage collect unreachable NCEs


Compare: https://github.com/RIOT-OS/RIOT/compare/ad1b5b4c94f2...aba11407f196


More information about the commits mailing list