bpf.h drift due to bpf_sk_redirect_map()
From: Arnaldo Carvalho de Melo
Date: Thu Oct 26 2017 - 09:56:39 EST
Hi John,
Recently the tools/perf/ build system noticed drift in
tools/include/uapi/linux/bpf.h from its master copy
include/uapi/linux/bpf.h, which comes from changes from you, can you
please check this?
[acme@jouet linux]$ diff -u tools/include/uapi/linux/bpf.h include/uapi/linux/bpf.h
--- tools/include/uapi/linux/bpf.h 2017-10-26 08:10:15.980323396 -0300
+++ include/uapi/linux/bpf.h 2017-10-19 14:26:13.859622885 -0300
@@ -569,10 +569,9 @@
* @flags: reserved for future use
* Return: 0 on success or negative error code
*
- * int bpf_sk_redirect_map(skb, map, key, flags)
+ * int bpf_sk_redirect_map(map, key, flags)
* Redirect skb to a sock in map using key as a lookup key for the
* sock in map.
- * @skb: pointer to skb
* @map: pointer to sockmap
* @key: key to lookup sock in map
* @flags: reserved for future use
[acme@jouet linux]$
- Arnaldo