]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: Use RTNH_COMPARE_MASK in route_can_update() (#36585)
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 3 Mar 2025 20:00:33 +0000 (21:00 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Mar 2025 20:00:33 +0000 (05:00 +0900)
commit9fd25fd3ce4012e737688f0f1f3400c3e21c99f7
tree2be654bbbc4cad9f67ae258260866be1297593f5
parent047a4111df0db03ac42c9da26139b24053a1fb99
network: Use RTNH_COMPARE_MASK in route_can_update() (#36585)

Let's only compare flags that can be set by userspace and not all flags.

Fixes a bug introduced by 7027cdbd79c26d5a8890759a37d70165c8aeb214 (v256).
Fixes #36544
src/network/networkd-route.c