[riot-commits] [RIOT-OS/RIOT] eeafd4: rpl: wrong dodag assignment to parent

Oleg Hahm oleg at hobbykeller.org
Thu Jan 29 11:24:41 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: eeafd426d5b99d049d4ed304ac47d7496e06d024
      https://github.com/RIOT-OS/RIOT/commit/eeafd426d5b99d049d4ed304ac47d7496e06d024
  Author: Cenk Gündoğan <cnkgndgn at gmail.com>
  Date:   2014-12-14 (Sun, 14 Dec 2014)

  Changed paths:
    M sys/net/routing/rpl/rpl_dodag.c

  Log Message:
  -----------
  rpl: wrong dodag assignment to parent

`dodag` is the representation of the incoming DIO and thus is temporary.
Assigning this to the parent would lead to failure when reading/writing
to/from the parent's dodag attribute later.
`my_dodag`on the other hand is the local persistent representation of
the DIO's dodag and therefore the right choice.


  Commit: 6715bccf5b376fbe65453f5d54d77f3602fb9d66
      https://github.com/RIOT-OS/RIOT/commit/6715bccf5b376fbe65453f5d54d77f3602fb9d66
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2015-01-29 (Thu, 29 Jan 2015)

  Changed paths:
    M sys/net/routing/rpl/rpl_dodag.c

  Log Message:
  -----------
  Merge pull request #2190 from cgundogan/rpl_new_parent_dodag_assignment

rpl: wrong dodag assignment to parent


Compare: https://github.com/RIOT-OS/RIOT/compare/acb3afd65208...6715bccf5b37


More information about the commits mailing list