aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2018-06-20 17:24:09 -0700
committerDavid S. Miller <[email protected]>2018-06-21 12:46:06 +0900
commit9262478220eac908ae6e168c3df2c453c87e2da3 (patch)
treec947c374ca969723540a9e50ad09f6d603313b58 /lib/test_overflow.c
parent08d02364b12faa54d76dbfea2090321fd27996f2 (diff)
bpf: enforce correct alignment for instructions
After commit 9facc336876f ("bpf: reject any prog that failed read-only lock") offsetof(struct bpf_binary_header, image) became 3 instead of 4, breaking powerpc BPF badly, since instructions need to be word aligned. Fixes: 9facc336876f ("bpf: reject any prog that failed read-only lock") Signed-off-by: Eric Dumazet <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: Martin KaFai Lau <[email protected]> Cc: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions