Skip to content
Commit 95ee2c6b authored by Luca Boccassi's avatar Luca Boccassi Committed by Zbigniew Jędrzejewski-Szmek
Browse files

bpf: do not use structured initialization for bpf_attr

It looks like zero'ing the struct is not enough, and with some level
of optimizations there is still non-zero padding left over.
Switch to member-by-member initialization. Also convert all remaining
bpf_attr variables in other files.

(cherry picked from commit 9ca600e2)
parent 3dcf9506
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment