genode/repos/os
Martin Stein 2d017ad7b7 nic_router: guard against exception in free_ip
Adds try-catch-statement with diagnostic errors in Dhcp_server::free_ip in
order to guard against exceptions from the underlying bit allocator. These
exceptions should never happen given that the router is programmed correctly
and always feeds Dhcp_server::free_ip with sane arguments (which it should).
However, should this not be the case, we can assume that the failed IP freeing
indicates that the IP isn't allocated anyway and it's fine to continue using
the router. Furthermore, IP allocations are a mere client service and not
relevant for the integrity or safety of the router.

Ref #4200
2021-06-25 11:57:28 +02:00
..
doc Remove <configfile> feature from init 2020-05-18 10:16:13 +02:00
include vfs/dir_fs: allow opening empty dirs 2021-06-25 11:41:45 +02:00
lib sandbox/init: parse config using 'List_model' 2021-04-20 12:03:04 +02:00
recipes depot: update recipe hashes 2021-06-25 11:46:37 +02:00
run nic_router: fix exc. in Interface::handle_config_3 2021-06-25 11:57:24 +02:00
src nic_router: guard against exception in free_ip 2021-06-25 11:57:28 +02:00
xsd nic drivers: provide optional Uplink-client mode 2021-01-25 13:58:09 +01:00
README API documentation refinements 2017-05-31 13:16:21 +02:00

This source-code repository contains genuine low-level OS components and
interfaces of Genode. It solely depends on the framework's base API.