Bug 1702657 - reapply of MTU does not work
Summary: reapply of MTU does not work
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Beniamino Galvani
QA Contact: Desktop QE
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: 1694958
TreeView+ depends on / blocked
 
Reported: 2019-04-24 11:36 UTC by Thomas Haller
Modified: 2019-05-17 08:08 UTC (History)
11 users (show)

(edit)
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

Description Thomas Haller 2019-04-24 11:36:36 UTC
Reapplying the MTU does (most of the time) not work:

  nmcli device modify "$DEVICE" ethernet.mtu $((1400 + RANDOM % 100))


I think this is due to https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/devices/nm-device.c?id=17adf58d5dc5d8253f2322e92b96bd176476b6f3#n9074 and https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=2f8917237fdfb3e4da80989131cc1880013b9e92 (from 1.12.0)

Comment 7 Vladimir Benes 2019-05-17 08:08:19 UTC
MTU check added to @device_reapply_all test.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/commit/ffc2d22df32cca9137bef4b224f653ca2a5ac9a4


Note You need to log in before you can comment on or make changes to this bug.