]> git.ipfire.org Git - thirdparty/systemd.git/commit
bpf-devices: if a device node is referenced which doesn't exist, downgrade log message 31268/head
authorLennart Poettering <lennart@poettering.net>
Fri, 9 Feb 2024 11:28:10 +0000 (12:28 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 9 Feb 2024 14:32:10 +0000 (15:32 +0100)
commit3a51cf673fd40a06828fd50ada33614441fe639e
tree9c354cf6c0a0bb186dee0aafa50a1295526b336f
parent958b73bef1ea35d40c7a58aef00f1b2de8fec0c0
bpf-devices: if a device node is referenced which doesn't exist, downgrade log message

Currently in many of our test cases you'll see a warning about a tun
device not being around. Let's make that quiet, since if there's no such
device there's no point in adding it to a policy anyway, and it makes
useless noise go away.

We keep the warning as a warning if a device node is missing for other
errors than ENOENT.
src/core/bpf-devices.c