[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7a8bd689-93dc-d1a1-fa2b-bb8b615fdcd8@iogearbox.net>
Date: Wed, 24 Jan 2018 10:42:18 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Alexei Starovoitov <ast@...nel.org>, davem@...emloft.net
Cc: netdev@...r.kernel.org, ecree@...arflare.com
Subject: Re: [PATCH bpf-next] selftests/bpf: make 'dubious pointer arithmetic'
test useful
On 01/24/2018 05:05 AM, Alexei Starovoitov wrote:
> mostly revert the previous workaround and make
> 'dubious pointer arithmetic' test useful again.
> Use (ptr - ptr) << const instead of ptr << const to generate large scalar.
> The rest stays as before commit 2b36047e7889.
>
> Fixes: 2b36047e7889 ("selftests/bpf: fix test_align")
> Signed-off-by: Alexei Starovoitov <ast@...nel.org>
Applied to bpf-next, thanks Alexei!
Powered by blists - more mailing lists