aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/include
diff options
context:
space:
mode:
authorAlexander Alemayhu <alexander@alemayhu.com>2017-04-08 22:08:10 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-09 18:26:08 -0700
commit3c60a531b9e175693a2d61f6bfd7ffacce4146cd (patch)
treef6604c9dcbb9abf4e13730e6406704738a01d9ed /tools/include
parentnetvsc: use napi_consume_skb (diff)
downloadwireguard-linux-3c60a531b9e175693a2d61f6bfd7ffacce4146cd.tar.xz
wireguard-linux-3c60a531b9e175693a2d61f6bfd7ffacce4146cd.zip
bpf: fix comment typo
o s/bpf_bpf_get_socket_cookie/bpf_get_socket_cookie Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/uapi/linux/bpf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index a1d95386f562..1e062bb54eec 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -472,7 +472,7 @@ union bpf_attr {
* > 0 length of the string including the trailing NUL on success
* < 0 error
*
- * u64 bpf_bpf_get_socket_cookie(skb)
+ * u64 bpf_get_socket_cookie(skb)
* Get the cookie for the socket stored inside sk_buff.
* @skb: pointer to skb
* Return: 8 Bytes non-decreasing number on success or 0 if the socket