Skip to content

rpl: fix src addr of outgoing control messages#3913

Closed
cgundogan wants to merge 0 commit intoRIOT-OS:masterfrom
cgundogan:pr/rpl/linklocal
Closed

rpl: fix src addr of outgoing control messages#3913
cgundogan wants to merge 0 commit intoRIOT-OS:masterfrom
cgundogan:pr/rpl/linklocal

Conversation

@cgundogan
Copy link
Copy Markdown
Member

Currently, RPL assumes a link local address that was derived from the global address. This is not true anymore (and was also a bad solution anyway).
Now I just ask for any link local address as the src address of control messages with gnrc_ipv6_netif_match_prefix(). (@authmillenon any remarks?)
Without this, routing is broken.

@cgundogan cgundogan added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: network Area: Networking labels Sep 21, 2015
@miri64
Copy link
Copy Markdown
Member

miri64 commented Sep 21, 2015

What's with the removal of the dodag_id parameter?

@cgundogan
Copy link
Copy Markdown
Member Author

The dodag_id parameter was used to determine which link local address the node should choose when it was part of multiple dodags and thus had multiple global ip addresses. This works if a global ip address has a matching linklocal address, but that was a bad assumption. Now I just take the first matching link local address, regardless of the dodag_id

@miri64
Copy link
Copy Markdown
Member

miri64 commented Sep 21, 2015

I'll leave the rest of the review to @OlegHahm..

@cgundogan cgundogan added this to the Release 2015.09 milestone Sep 21, 2015
@miri64
Copy link
Copy Markdown
Member

miri64 commented Sep 22, 2015

Independent from know-how the change looks however sensible and it seems to work on testbed (initialized 4 nodes with one root and was able to ping a non-root from a non-root).

ACK

@miri64 miri64 added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Sep 22, 2015
@cgundogan cgundogan closed this Sep 22, 2015
@OlegHahm
Copy link
Copy Markdown
Member

?

@miri64
Copy link
Copy Markdown
Member

miri64 commented Sep 22, 2015

He's got some problems changing some stuff.

@cgundogan
Copy link
Copy Markdown
Member Author

trying to push my stuff, but github times out right now .. loading..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants