[riot-commits] [RIOT-OS/RIOT] 0c790c: gnrc_rpl: fix zeroing of RPL DIS fields

Martine Lenders authmillenon at gmail.com
Mon Sep 3 14:20:01 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 0c790c6638b2da96fc10009ff2a0c04afdb1eb84
      https://github.com/RIOT-OS/RIOT/commit/0c790c6638b2da96fc10009ff2a0c04afdb1eb84
  Author: Koen Zandberg <koen at bergzand.net>
  Date:   2018-08-29 (Wed, 29 Aug 2018)

  Changed paths:
    M sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c

  Log Message:
  -----------
  gnrc_rpl: fix zeroing of RPL DIS fields

The code originally assumed that the location of DIS struct is directly
after the ICMPv6 struct. This is not necessarily true when both structs
are individually allocated by pktbuf. This commit fixes this issue by
directly accessing the location of the DIS struct.


  Commit: e54428ce1e40413208a4bd015d35b1707bb01333
      https://github.com/RIOT-OS/RIOT/commit/e54428ce1e40413208a4bd015d35b1707bb01333
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2018-09-03 (Mon, 03 Sep 2018)

  Changed paths:
    M sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c

  Log Message:
  -----------
  Merge pull request #9853 from bergzand/pr/rpl/fix_dis_reserved_fields

gnrc_rpl: fix zeroing of RPL DIS fields


Compare: https://github.com/RIOT-OS/RIOT/compare/2e60e096a593...e54428ce1e40
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list