From 093a6c67005148ae32a5c9e4553491b9f5c2457b Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:40:51 +0000 Subject: [PATCH] disable kernel build waring --- kernel/tools/include/uapi/linux/bpf.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/kernel/tools/include/uapi/linux/bpf.h b/kernel/tools/include/uapi/linux/bpf.h index 7943e74..fd1a4d8 100644 --- a/kernel/tools/include/uapi/linux/bpf.h +++ b/kernel/tools/include/uapi/linux/bpf.h @@ -976,7 +976,9 @@ * performed again, if the helper is used in combination with * direct packet access. * Return - * 0 on success, or a negative error in case of failure. + * 0 on success, or a negative error in case of failure. Positive + * error indicates a potential drop or congestion in the target + * device. The particular positive error codes are not defined. * * u64 bpf_get_current_pid_tgid(void) * Return -- Gitblit v1.6.2