]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/bpf-firewall.c
core: constify bpf program arrays
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 8 Nov 2019 07:55:54 +0000 (08:55 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 10 Nov 2019 22:22:14 +0000 (23:22 +0100)
commit2899aac46a8d8d5cf1aa5cbf04f755ef7b9f9643
tree631bea3d4dafc91d7df69ebf2b61b40170f376b9
parent754499fab2392f8405025aead36ebc79dd59780b
core: constify bpf program arrays

In cases where the programs were modified after being initially declared,
reorder operations so that the declaration is already in final form.
src/core/bpf-devices.c
src/core/bpf-firewall.c
src/test/test-bpf.c