[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <eb68a11c-e06e-a25c-22ce-015349d54b3b@iogearbox.net>
Date: Sun, 12 Nov 2017 20:20:58 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Yonghong Song <yhs@...com>, ast@...com, netdev@...r.kernel.org
Cc: kernel-team@...com
Subject: Re: [PATCH net-next 3/3 v2] bpf: fix and add test cases for
ARG_CONST_SIZE_OR_ZERO semantics change
On 11/12/2017 05:04 PM, Yonghong Song wrote:
> Fix a few test cases to allow non-NULL map/packet/stack pointer
> with size = 0. Change a few tests using bpf_probe_read to use
> bpf_probe_write_user so ARG_CONST_SIZE arg can still be properly
> tested. One existing test case already covers size = 0 with non-NULL
> packet pointer, so add additional tests so all cases of
> size = 0 and 0 <= size <= legal_upper_bound with non-NULL
> map/packet/stack pointer are covered.
>
> Signed-off-by: Yonghong Song <yhs@...com>
> Acked-by: Alexei Starovoitov <ast@...nel.org>
Acked-by: Daniel Borkmann <daniel@...earbox.net>
Powered by blists - more mailing lists