diff options
author | 2023-05-11 10:04:55 -0700 | |
---|---|---|
committer | 2023-05-13 16:55:46 -0700 | |
commit | e01b4a72f132c1ca63e3ed851bef9b3c62ae6149 (patch) | |
tree | 1908d1e5bc4f34dd4908561cecbaeffd738151fc /kernel/bpf/log.c | |
parent | selftests/bpf: Update EFAULT {g,s}etsockopt selftests (diff) | |
download | wireguard-linux-e01b4a72f132c1ca63e3ed851bef9b3c62ae6149.tar.xz wireguard-linux-e01b4a72f132c1ca63e3ed851bef9b3c62ae6149.zip |
selftests/bpf: Correctly handle optlen > 4096
Even though it's not relevant in selftests, the people
might still copy-paste from them. So let's take care
of optlen > 4096 cases explicitly.
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20230511170456.1759459-4-sdf@google.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'kernel/bpf/log.c')
0 files changed, 0 insertions, 0 deletions