network: do not remove rule when it is requested by existing links
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 22 Feb 2019 04:32:47 +0000 (13:32 +0900)
committerAdrian Bunk <bunk@debian.org>
Thu, 30 Mar 2023 19:32:31 +0000 (20:32 +0100)
commit3fbba136289c3d962f54ea4c9e157e61e872f062
tree0e6db1801c7c974b4893e44ad3c08a07d80c8108
parente871a1014ccafc474f8ba548376c3d21c595ac7b
network: do not remove rule when it is requested by existing links

Otherwise, the first link once removes all saved rules in the foreign
rule database, and the second or later links create again...

(cherry picked from commit 031fb59a984e5b51f3c72aa8125ecc50b08011fe)

Gbp-Pq: Name network-do-not-remove-rule-when-it-is-requested-by-existi.patch
src/network/networkd-routing-policy-rule.c