cgroup: don't generate BPF firewall unsupported warning on wrong unit
authorLennart Poettering <lennart@poettering.net>
Wed, 24 Feb 2021 16:49:32 +0000 (17:49 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 12 Mar 2021 16:35:57 +0000 (17:35 +0100)
commit6349fb59858618bf9b92e4abb77dc4027b2fd35f
tree4bdc73c032b4bd5f9e1acd5dc7c2a7c4cb66fc13
parent62739f68ddc46f0c27c7922624da414f7dc86dbd
cgroup: don't generate BPF firewall unsupported warning on wrong unit

Let's generate the warning on a unit that actually needs the BPF
firewall, and not confusingly already for a sibling of one.

(cherry picked from commit a437c5e4da666d16f15649461ce45e0e6d735148)
src/core/cgroup.c