mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 07:46:42 +00:00
d5b1d9466a
Whenever a domain looses all its interfaces or the link state of all attached interfaces is down at once, the domain potentially moves to another Ethernet segment and should therefore consider its ARP cache to be outdated. RFC 826 states that "... If a host moves, any connections initiated by that host will work, assuming its own address resolution table is cleared when it moves. ...". Therefore, this commit introduces clearing the ARP cache and the initially stated events. This commit was motivated by an issue with the PinePhone Modem and USB NIC. On the PinePhone, the Modem has its own OS and acts as direct gateway to the outer world for the USB NIC that is driven by Genode. However, whenever the Modem gets restarted, Modem and USB NIC receive a new MAC address. This used to conflict with the NIC routers ARP entry for the Modem that didn't cease to be valid. With this commit, the integrator of such a scenario at least has a convenient way of fixing this by ensuring that all interfaces at the USB NIC domain go down when resetting (e.g. by ensuring that the USB NIC is the only interface at that domain). Fixes #4558 |
||
---|---|---|
.. | ||
doc | ||
include | ||
lib | ||
recipes | ||
run | ||
src | ||
xsd | ||
README |
This source-code repository contains genuine low-level OS components and interfaces of Genode. It solely depends on the framework's base API.