[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180621.124639.2276956745930721354.davem@davemloft.net>
Date: Thu, 21 Jun 2018 12:46:39 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
daniel@...earbox.net, kafai@...com, ast@...nel.org
Subject: Re: [PATCH net] bpf: enforce correct alignment for instructions
From: Eric Dumazet <edumazet@...gle.com>
Date: Wed, 20 Jun 2018 17:24:09 -0700
> 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@...gle.com>
I'll apply this directly, thanks Eric.
Powered by blists - more mailing lists