]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: copy multipath route element earlier
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Oct 2020 06:26:51 +0000 (15:26 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Oct 2020 06:32:55 +0000 (15:32 +0900)
commitcc17f75f66a2f42a143b56cc238c69b7e3a66acf
tree87fb47302e4b6afa13be1edc1f7f4e293ffdb14f
parent8c212f76c246d9c3780b1de9b12dc21b8775561e
network: copy multipath route element earlier

`route_get()` compares input with existing routes, however previously,
the input may did not have information about gateway. So, the
comparison result might be incorrect, and the foregoing set_put() might
return -EEXIST.
src/network/networkd-route.c