diff mbox

[net-next] bpf: fix comment typo

Message ID 1491682090-29824-1-git-send-email-alexander@alemayhu.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Alexander Alemayhu April 8, 2017, 8:08 p.m. UTC
o s/bpf_bpf_get_socket_cookie/bpf_get_socket_cookie

Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>
---
 include/uapi/linux/bpf.h       | 2 +-
 tools/include/uapi/linux/bpf.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Daniel Borkmann April 8, 2017, 10:06 p.m. UTC | #1
On 04/08/2017 10:08 PM, Alexander Alemayhu wrote:
> 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>
David Miller April 10, 2017, 1:26 a.m. UTC | #2
From: Alexander Alemayhu <alexander@alemayhu.com>
Date: Sat,  8 Apr 2017 22:08:10 +0200

> o s/bpf_bpf_get_socket_cookie/bpf_get_socket_cookie
> 
> Signed-off-by: Alexander Alemayhu <alexander@alemayhu.com>

Applied.
diff mbox

Patch

diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
index a1d95386f562..1e062bb54eec 100644
--- a/include/uapi/linux/bpf.h
+++ b/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
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