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, 29 Jun 2023 13:57:02 +0000 (14:57 +0100)
commit5bdea8833adde27170a1e0e3b776bc110787b2bc
tree1a42af46ecd8d9228b8a176e52d014a16c764f2a
parentd5de8f1db8ae3532d60d775a0e4a358024979b32
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