Skip to content
Commit 1ce33b6c authored by Daniel Rosenberg's avatar Daniel Rosenberg Committed by Alexei Starovoitov
Browse files

selftests/bpf: Test allowing NULL buffer in dynptr slice



bpf_dynptr_slice(_rw) no longer requires a buffer for verification. If the
buffer is needed, but not present, the function will return NULL.

Signed-off-by: default avatarDaniel Rosenberg <drosen@google.com>
Link: https://lore.kernel.org/r/20230506013134.2492210-3-drosen@google.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 3bda08b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment