Patchwork [bpf-next,3/4] bpf: tools: Sync uapi bpf.h for the name changes in bpf_func_info

login
register
mail settings
Submitter Martin KaFai Lau
Date Dec. 6, 2018, 1:35 a.m.
Message ID <20181206013545.2803461-1-kafai@fb.com>
Download mbox | patch
Permalink /patch/673715/
State New
Headers show

Comments

Martin KaFai Lau - Dec. 6, 2018, 1:35 a.m.
This patch sync the name changes in bpf_func_info to
the tools/.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
---
 tools/include/uapi/linux/bpf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index 64262890feb2..16263e8827fc 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -2991,7 +2991,7 @@  struct bpf_flow_keys {
 };
 
 struct bpf_func_info {
-	__u32	insn_offset;
+	__u32	insn_off;
 	__u32	type_id;
 };