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
|
@ -105,7 +105,7 @@ class Net::Uplink_interface_base : public Interface_policy
|
|||
private:
|
||||
|
||||
Const_reference<Domain_name> _domain_name;
|
||||
Genode::Session_label const &_label;
|
||||
Genode::Session_label const _label;
|
||||
|
||||
|
||||
/***************************
|
||||
|
|
Loading…
Reference in New Issue