Commit bfdfa517 authored by Randy Dunlap's avatar Randy Dunlap Committed by Daniel Borkmann

bpf: Drop duplicated words in uapi helper comments

Drop doubled words "will" and "attach".
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/6b9f71ae-4f8e-0259-2c5d-187ddaefe6eb@infradead.org
parent e81e7a53
...@@ -2420,7 +2420,7 @@ union bpf_attr { ...@@ -2420,7 +2420,7 @@ union bpf_attr {
* Look for an IPv6 socket. * Look for an IPv6 socket.
* *
* If the *netns* is a negative signed 32-bit integer, then the * If the *netns* is a negative signed 32-bit integer, then the
* socket lookup table in the netns associated with the *ctx* will * socket lookup table in the netns associated with the *ctx*
* will be used. For the TC hooks, this is the netns of the device * will be used. For the TC hooks, this is the netns of the device
* in the skb. For socket hooks, this is the netns of the socket. * in the skb. For socket hooks, this is the netns of the socket.
* If *netns* is any other signed 32-bit value greater than or * If *netns* is any other signed 32-bit value greater than or
...@@ -2457,7 +2457,7 @@ union bpf_attr { ...@@ -2457,7 +2457,7 @@ union bpf_attr {
* Look for an IPv6 socket. * Look for an IPv6 socket.
* *
* If the *netns* is a negative signed 32-bit integer, then the * If the *netns* is a negative signed 32-bit integer, then the
* socket lookup table in the netns associated with the *ctx* will * socket lookup table in the netns associated with the *ctx*
* will be used. For the TC hooks, this is the netns of the device * will be used. For the TC hooks, this is the netns of the device
* in the skb. For socket hooks, this is the netns of the socket. * in the skb. For socket hooks, this is the netns of the socket.
* If *netns* is any other signed 32-bit value greater than or * If *netns* is any other signed 32-bit value greater than or
...@@ -4000,7 +4000,7 @@ struct bpf_link_info { ...@@ -4000,7 +4000,7 @@ struct bpf_link_info {
/* User bpf_sock_addr struct to access socket fields and sockaddr struct passed /* User bpf_sock_addr struct to access socket fields and sockaddr struct passed
* by user and intended to be used by socket (e.g. to bind to, depends on * by user and intended to be used by socket (e.g. to bind to, depends on
* attach attach type). * attach type).
*/ */
struct bpf_sock_addr { struct bpf_sock_addr {
__u32 user_family; /* Allows 4-byte read, but no write. */ __u32 user_family; /* Allows 4-byte read, but no write. */
......
...@@ -2420,7 +2420,7 @@ union bpf_attr { ...@@ -2420,7 +2420,7 @@ union bpf_attr {
* Look for an IPv6 socket. * Look for an IPv6 socket.
* *
* If the *netns* is a negative signed 32-bit integer, then the * If the *netns* is a negative signed 32-bit integer, then the
* socket lookup table in the netns associated with the *ctx* will * socket lookup table in the netns associated with the *ctx*
* will be used. For the TC hooks, this is the netns of the device * will be used. For the TC hooks, this is the netns of the device
* in the skb. For socket hooks, this is the netns of the socket. * in the skb. For socket hooks, this is the netns of the socket.
* If *netns* is any other signed 32-bit value greater than or * If *netns* is any other signed 32-bit value greater than or
...@@ -2457,7 +2457,7 @@ union bpf_attr { ...@@ -2457,7 +2457,7 @@ union bpf_attr {
* Look for an IPv6 socket. * Look for an IPv6 socket.
* *
* If the *netns* is a negative signed 32-bit integer, then the * If the *netns* is a negative signed 32-bit integer, then the
* socket lookup table in the netns associated with the *ctx* will * socket lookup table in the netns associated with the *ctx*
* will be used. For the TC hooks, this is the netns of the device * will be used. For the TC hooks, this is the netns of the device
* in the skb. For socket hooks, this is the netns of the socket. * in the skb. For socket hooks, this is the netns of the socket.
* If *netns* is any other signed 32-bit value greater than or * If *netns* is any other signed 32-bit value greater than or
...@@ -4000,7 +4000,7 @@ struct bpf_link_info { ...@@ -4000,7 +4000,7 @@ struct bpf_link_info {
/* User bpf_sock_addr struct to access socket fields and sockaddr struct passed /* User bpf_sock_addr struct to access socket fields and sockaddr struct passed
* by user and intended to be used by socket (e.g. to bind to, depends on * by user and intended to be used by socket (e.g. to bind to, depends on
* attach attach type). * attach type).
*/ */
struct bpf_sock_addr { struct bpf_sock_addr {
__u32 user_family; /* Allows 4-byte read, but no write. */ __u32 user_family; /* Allows 4-byte read, but no write. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment