Thread (14 messages) flat view 14 messages, 5 authors, 2019-08-13
STALE2575d REVIEWED: 1 (0M)

Revision v2 of 4 in this series; 1 review trailer.

Revisions (4)
  1. v1 [diff vs current]
  2. v2 current
  3. v3 [diff vs current]
  4. v4 [diff vs current]

[PATCH bpf-next v2 3/4] bpf: sync bpf.h to tools/

From: Stanislav Fomichev <hidden>
Date: 2019-08-09 16:10:50
Also in: bpf
Subsystem: the rest · Maintainer: Linus Torvalds

Sync new sk storage clone flag.

Cc: Martin KaFai Lau <redacted>
Cc: Yonghong Song <redacted>
Acked-by: Yonghong Song <redacted>
Signed-off-by: Stanislav Fomichev <redacted>
---
 tools/include/uapi/linux/bpf.h | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index 4393bd4b2419..0ef594ac3899 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -337,6 +337,9 @@ enum bpf_attach_type {
 #define BPF_F_RDONLY_PROG	(1U << 7)
 #define BPF_F_WRONLY_PROG	(1U << 8)
 
+/* Clone map from listener for newly accepted socket */
+#define BPF_F_CLONE		(1U << 9)
+
 /* flags for BPF_PROG_QUERY */
 #define BPF_F_QUERY_EFFECTIVE	(1U << 0)
 
-- 
2.23.0.rc1.153.gdeed80330f-goog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help