summaryrefslogtreecommitdiffstats
path: root/net/sctp/chunk.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-06-21 02:24:09 +0200
committerDavid S. Miller <davem@davemloft.net>2018-06-21 05:46:06 +0200
commit9262478220eac908ae6e168c3df2c453c87e2da3 (patch)
treec947c374ca969723540a9e50ad09f6d603313b58 /net/sctp/chunk.c
parentnet: mscc: fix the injection header (diff)
downloadlinux-9262478220eac908ae6e168c3df2c453c87e2da3.tar.xz
linux-9262478220eac908ae6e168c3df2c453c87e2da3.zip
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 <edumazet@google.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Martin KaFai Lau <kafai@fb.com> Cc: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/chunk.c')
0 files changed, 0 insertions, 0 deletions