diff options
| author | Michael Biebl <biebl@debian.org> | 2020-12-06 21:58:58 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2020-12-06 21:58:58 +0100 |
| commit | ec4fca2f78286742ae7f8313c2ee2124c1467b0c (patch) | |
| tree | b0c65baa44cb6f1146905601e26bec0385309c65 /src/devices/nm-device.h | |
| parent | 9c050d4b4b3b85760abead778d68a63b1fde0a02 (diff) | |
| parent | 65f86e8f56267192d42f2b629fc6b0c99fb9cd0c (diff) | |
Update upstream source from tag 'upstream/1.28.0'
Update to upstream version '1.28.0' with Debian dir 1448deb268c4818d41653eb95896b4228b7c3f72
Diffstat (limited to 'src/devices/nm-device.h')
| -rw-r--r-- | src/devices/nm-device.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/devices/nm-device.h b/src/devices/nm-device.h index 13782417..3eae9318 100644 --- a/src/devices/nm-device.h +++ b/src/devices/nm-device.h @@ -232,6 +232,17 @@ typedef struct _NMDeviceClass { * type (NMDeviceClass), not the actual device instance. */ bool is_master : 1; + /* Force setting the MTU actually means first setting the MTU + * to (desired_MTU-1) and then setting the desired_MTU + * so that kernel actually applies the MTU, otherwise + * kernel will ignore the request if the link's MTU is the + * same as the desired one. + * + * This is just a workaround made for bridges (ATM) that employ + * a auto-MTU adjust mechanism if no MTU is manually set. + */ + bool mtu_force_set : 1; + void (*state_changed)(NMDevice * device, NMDeviceState new_state, NMDeviceState old_state, |