Skip to content

device: store the original MTU before force-setting it

Beniamino Galvani requested to merge bg/mtu-init into main

In case the MTU is force-set (e.g. for bridges), priv->mtu_initial and priv->ip6_mtu_initial must be initialized before changing the MTU, otherwise the wrong value will be restored on deactivation.

Fixes: e23798a5 ('bridge: force (hack)-set of the MTU when explicitly set in the profile')

https://bugzilla.redhat.com/show_bug.cgi?id=1973536

Merge request reports