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)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 8 Jul 2021 13:03:45 +0000 (14:03 +0100)
commit5f32b294acad6b13e905db2e17a58a19bd517654
treec198be57375901dcf6dbba61ce7b9ed963da3145
parent7459c64fb86593a08acf3e3f304168a5ba531e13
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