mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 02:01:38 +00:00
nic_router: fix broken uplink label on re-config
Uplink labels were stored in the uplink objects as reference. As uplink objects may be re-used on re-configuration to avoid unnecessary closing and re-opening of NIC sessions, the label reference could get invalid as the object that stored the label content didn't get re-used. Thus, the label is now copied to the uplink object. Fixes #3529
This commit is contained in:
parent
cd37bff514
commit
0ad0153626
@ -104,8 +104,8 @@ class Net::Uplink_interface_base : public Interface_policy
|
||||
{
|
||||
private:
|
||||
|
||||
Const_reference<Domain_name> _domain_name;
|
||||
Genode::Session_label const &_label;
|
||||
Const_reference<Domain_name> _domain_name;
|
||||
Genode::Session_label const _label;
|
||||
|
||||
|
||||
/***************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user