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)
committerMichael Biebl <biebl@debian.org>
Wed, 16 Oct 2019 13:24:54 +0000 (14:24 +0100)
commit99f04bc469ded0dfffb2154257e46e82a1414ffe
tree4f443f5b8f7e3fe64da57a640cd43d84c51a4316
parent6564a3397511540fd94b937d3635a1fbeb38c5eb
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