]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/bpf-firewall.c
bpf-firewall: properly handle kernels where BPF cgroup is disabled but TRIE maps...
authorLennart Poettering <lennart@poettering.net>
Mon, 13 Nov 2017 09:56:43 +0000 (10:56 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Nov 2017 09:56:43 +0000 (10:56 +0100)
commit93e93da5cc0499563710e3b77dcae3c342ed46b0
tree736c5aba429cff747521c31c0bc7204987a7c75a
parentbd1750f7fec45c391747c18e4b5defea609c0b3d
bpf-firewall: properly handle kernels where BPF cgroup is disabled but TRIE maps are enabled (#7298)

So far, we assumed that kernels where TRIE was on also supported
BPF/cgroup stuff. That's not a correct assumption to make, hence check
for both features separately.

Fixes: #7054
src/core/bpf-firewall.c