aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorQuentin Monnet <[email protected]>2022-06-10 11:26:48 +0000
committerDaniel Borkmann <[email protected]>2022-06-14 20:18:56 +0000
commit93270357daa949e4bed375b40d0a100ce04f3399 (patch)
tree31c9db9516aa2815fdd5e3acdaeb55658ee67c58 /scripts/bpf_doc.py
parentRevert "bpftool: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK" (diff)
downloadkernel-93270357daa949e4bed375b40d0a100ce04f3399.tar.gz
kernel-93270357daa949e4bed375b40d0a100ce04f3399.zip
bpftool: Do not check return value from libbpf_set_strict_mode()
The function always returns 0, so we don't need to check whether the return value is 0 or not. This change was first introduced in commit a777e18f1bcd ("bpftool: Use libbpf 1.0 API mode instead of RLIMIT_MEMLOCK"), but later reverted to restore the unconditional rlimit bump in bpftool. Let's re-add it. Co-developed-by: Yafang Shao <[email protected]> Signed-off-by: Quentin Monnet <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions