Skip to content
Commit 1ba03535 authored by Stanislav Fomichev's avatar Stanislav Fomichev Committed by Greg Kroah-Hartman
Browse files

selftests/bpf: Verify optval=NULL case

[ Upstream commit 833d67ec

 ]

Make sure we get optlen exported instead of getting EFAULT.

Signed-off-by: default avatarStanislav Fomichev <sdf@google.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20230418225343.553806-3-sdf@google.com
Stable-dep-of: 69844e33

 ("selftests/bpf: Fix sockopt_sk selftest")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0d18f8b9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment