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
24202420 * Look for an IPv6 socket.
24212421 *
24222422 * If the *netns* is a negative signed 32-bit integer, then the
2423− * socket lookup table in the netns associated with the *ctx* will
2423+ * socket lookup table in the netns associated with the *ctx*
24242424 * will be used. For the TC hooks, this is the netns of the device
24252425 * in the skb. For socket hooks, this is the netns of the socket.
24262426 * If *netns* is any other signed 32-bit value greater than or
@@ -2457,7 +2457,7 @@ union bpf_attr { · 30 unmodified lines
24572457 * Look for an IPv6 socket.
24582458 *
24592459 * If the *netns* is a negative signed 32-bit integer, then the
2460− * socket lookup table in the netns associated with the *ctx* will
2460+ * socket lookup table in the netns associated with the *ctx*
24612461 * will be used. For the TC hooks, this is the netns of the device
24622462 * in the skb. For socket hooks, this is the netns of the socket.
24632463 * If *netns* is any other signed 32-bit value greater than or
@@ -4000,7 +4000,7 @@ struct bpf_link_info { · 1536 unmodified lines
40004000
40014001 /* User bpf_sock_addr struct to access socket fields and sockaddr struct passed
40024002 * by user and intended to be used by socket (e.g. to bind to, depends on
4003− * attach attach type).
4003+ * attach type).
40044004 */
40054005 struct bpf_sock_addr {
40064006 __u32 user_family; /* Allows 4-byte read, but no write. */