Skip to content

Revert "platform: always reconfigure IP routes even if removed externally"

Beniamino Galvani requested to merge bg/rh2218866 into main

Summary

The change in behavior introduced by the patch departs from the policy that NM had for long time of trying not to interfere with user modifications. Even if that behavior was not perfect, it was something users relied on, as reported in

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

Therefore, restore the old behavior.

Purpose

Test cases:

NetworkManager-ci!1463 (closed)

Checklist

Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:

  • the subject for all commits is concise and explicative
  • the message for all commits explains the reason for the change
  • the source is properly formatted
  • any relevant documentation is up to date
  • you have added unit tests if applicable

Merge request reports