mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 20:10:10 +01:00
device: reconfigure ethtool and tc also for assumed devices
We need to set the ethtool and tc properties for assumed devices, since they go through a normal activation. External devices should not be touched by NM.
This commit is contained in:
parent
86b922695f
commit
24deb07159
1 changed files with 2 additions and 2 deletions
|
|
@ -9760,10 +9760,10 @@ activate_stage2_device_config(NMDevice *self)
|
|||
|
||||
nm_device_state_changed(self, NM_DEVICE_STATE_CONFIG, NM_DEVICE_STATE_REASON_NONE);
|
||||
|
||||
if (!nm_device_sys_iface_state_is_external_or_assume(self))
|
||||
if (!nm_device_sys_iface_state_is_external(self))
|
||||
_ethtool_state_set(self);
|
||||
|
||||
if (!nm_device_sys_iface_state_is_external_or_assume(self)) {
|
||||
if (!nm_device_sys_iface_state_is_external(self)) {
|
||||
if (!priv->tc_committed && !tc_commit(self)) {
|
||||
_LOGW(LOGD_DEVICE, "failed applying traffic control rules");
|
||||
nm_device_state_changed(self,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue