Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
NetworkManager
NetworkManager
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 146
    • Issues 146
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • NetworkManager
  • NetworkManagerNetworkManager
  • Merge Requests
  • !127

Closed
Opened Apr 26, 2019 by Beniamino Galvani@bgalvaniOwner
  • Report abuse
Report abuse

device: fix reapply of MTU

  • Overview 3
  • Commits 1
  • Pipelines 1
  • Changes 1

When we set the MTU on the link we remember its previous source (ip-config, parent-device or connection profile) and don't change it again afterwards to avoid interfering with user's manual changes. The only exceptions when we change it again are (1) if the parent device MTU changes and (2) if the new MTU has higher priority than the one previously set.

To allow a live reapply of the MTU property we also need to clear the saved source, or the checks described above will prevent setting the new value.

Fixes: 2f891723 ('device: rework mtu priority handling')

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

Edited Apr 29, 2019 by Beniamino Galvani
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: NetworkManager/NetworkManager!127
Source branch: bg/mtu-reapply-rh1702657