]> git.ipfire.org Git - thirdparty/systemd.git/commit
bpf-firewall: close gap when updating the firewall 19851/head
authorLennart Poettering <lennart@poettering.net>
Tue, 8 Jun 2021 17:26:39 +0000 (19:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 Jun 2021 20:02:35 +0000 (22:02 +0200)
commitdbef3d163b8bbb056389d609566546329c9f6424
tree5530de753f09850d7b3fb8604d508817642191c5
parenta947ebb515c96f01d44c410e9fde52045e9084a6
bpf-firewall: close gap when updating the firewall

If we have BPF_F_ALLOW_MULTI support we can install the new program
before we drop the old (because we can install two program at the same
time). Let's do that, and thus fully close the firewall
gap.
src/core/bpf-firewall.c