History

bpf: Drop duplicated words in uapi helper comments

Drop doubled words "will" and "attach".

Randy Dunlap committed 6 years ago

Commit bfdfa511 parent e81e7a52 files · +6 −6Browse files

Showing the changes to tools/include/uapi/linux (1 of 2 files). Show all

Unified · Split

tools/include/uapi/linux/bpf.h+3−3
@@ -2420,7 +2420,7 @@ union bpf_attr { · 2419 unmodified lines
2420 * Look for an IPv6 socket.2420 * Look for an IPv6 socket.
2421 *2421 *
2422 * If the *netns* is a negative signed 32-bit integer, then the2422 * If the *netns* is a negative signed 32-bit integer, then the
2423 * socket lookup table in the netns associated with the *ctx* will2423 * socket lookup table in the netns associated with the *ctx*
2424 * will be used. For the TC hooks, this is the netns of the device2424 * will be used. For the TC hooks, this is the netns of the device
2425 * in the skb. For socket hooks, this is the netns of the socket.2425 * in the skb. For socket hooks, this is the netns of the socket.
2426 * If *netns* is any other signed 32-bit value greater than or2426 * If *netns* is any other signed 32-bit value greater than or
@@ -2457,7 +2457,7 @@ union bpf_attr { · 30 unmodified lines
2457 * Look for an IPv6 socket.2457 * Look for an IPv6 socket.
2458 *2458 *
2459 * If the *netns* is a negative signed 32-bit integer, then the2459 * If the *netns* is a negative signed 32-bit integer, then the
2460 * socket lookup table in the netns associated with the *ctx* will2460 * socket lookup table in the netns associated with the *ctx*
2461 * will be used. For the TC hooks, this is the netns of the device2461 * will be used. For the TC hooks, this is the netns of the device
2462 * in the skb. For socket hooks, this is the netns of the socket.2462 * in the skb. For socket hooks, this is the netns of the socket.
2463 * If *netns* is any other signed 32-bit value greater than or2463 * If *netns* is any other signed 32-bit value greater than or
@@ -4000,7 +4000,7 @@ struct bpf_link_info { · 1536 unmodified lines
4000 4000
4001/* User bpf_sock_addr struct to access socket fields and sockaddr struct passed4001/* User bpf_sock_addr struct to access socket fields and sockaddr struct passed
4002 * by user and intended to be used by socket (e.g. to bind to, depends on4002 * by user and intended to be used by socket (e.g. to bind to, depends on
4003 * attach attach type).4003 * attach type).
4004 */4004 */
4005struct bpf_sock_addr {4005struct bpf_sock_addr {
4006 __u32 user_family; /* Allows 4-byte read, but no write. */4006 __u32 user_family; /* Allows 4-byte read, but no write. */