gnrc_ipv6: Revert #5179#5326
Conversation
|
Just a small question: would NDP work without a netif header for devices with multiple interfaces? IIRC it guesses the interface by matching the interface's addresses to the source address of the sender, right? |
|
Usually NDP shouldn't go over loopback or similar interfaces, so I think it should work. The default behavior for an unknown interface should be to multicast the |
|
I'm not sure where you have the "guessing" from. Can't find any of such things in the code. |
If no reply for a packet is expected the packet should be ignored anyways, since it obviously did not came from a "real" interface. |
I was referring to: |
|
Ah, but that is not guessing, actually. If the address is assigned to the interface it is assigned to the interface and there is no ambiguity. |
|
But one can receive a packet that is targeted for an addressed assigned to interface A on interface B, right? |
Yes, but didn't we asses, that for "real" interfaces there is always a netif header, so |
|
Hopefully. |
|
ACK |
|
Murdock is happy -> go. |
Reverts #5179.
Alternative to #5247.
Else-case that was discussed #5247 isn't necessary, since
ifaceis already initialized withKERNEL_PID_UNDEF.