gnrc_ipv6_nib: add exception in address resolution for SLIP#8041
Conversation
|
Ignoring any instabilities, ping works! I suspect the issue to be somewhere in the uart code of the nucleo. A value of To get things working:
This way the tunslip application doesn't receive the TL;DR: it unstable, but it works, and this PR is not to blame for the instability. |
|
@bergzand can you open an issue regarding your suspicions? I'm not really that much into the periph code of any platform and this way we can notify people about this, that do actually know about that code ;-). |
|
(fixed some wording in the comment in my latest commit) |
a3cf564 to
cb21d6f
Compare
|
And rebased to make testing easier. |
bergzand
left a comment
There was a problem hiding this comment.
Minor grammar nitpicking, code looks good.
| bool res = false; | ||
| if ((netif != NULL) && (netif->device_type == NETDEV_TYPE_SLIP)) { | ||
| /* XXX: Linux doesn't do neighbor discovery for SLIP so no use sending | ||
| * NS and since SLIP doesn't has link-layer addresses anyway we can just |
There was a problem hiding this comment.
has -> have, and a comma after "anyway" (I think).
|
Ack, please squash |
21fb017 to
9054910
Compare
|
Squashed
Please remember to do that. |
Thanks for the reminder, #8045 :) |
|
Weird... can you do to master? Might be that I misconfigured something for |
|
Yeah, master works (#7977). I don't really mind for this case, but it might explain why I never merged anything on this branch :) |
|
Now you should be able to :-) |
|
(as should any non-admin maintainer) |
|
🎉 |

Linux doesn't answer to NS over SLIP and since there are no link-layer addresses in SLIP, address resolution doesn't make much sense anyway, this PR circumvents it for SLIP interfaces. If the interface is provided to the address resolution (which it is for link-local or if a route is configured, which is the case for a border router where SLIP is usually used) the returned neighbor cache entry is just set to that interface with link-layer address 0.