Skip to content

Commit 2883ec8

Browse files
q2vengregkh
authored andcommitted
bpf: Fix a typo of reuseport map in bpf.h.
[ Upstream commit f170acd ] Fix s/BPF_MAP_TYPE_REUSEPORT_ARRAY/BPF_MAP_TYPE_REUSEPORT_SOCKARRAY/ typo in bpf.h. Fixes: 2dbb9b9 ("bpf: Introduce BPF_PROG_TYPE_SK_REUSEPORT") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20210714124317.67526-1-kuniyu@amazon.co.jp Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 02367ab commit 2883ec8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • include/uapi/linux
  • tools/include/uapi/linux

‎include/uapi/linux/bpf.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3249,7 +3249,7 @@ union bpf_attr {
32493249
* long bpf_sk_select_reuseport(struct sk_reuseport_md *reuse, struct bpf_map *map, void *key, u64 flags)
32503250
* Description
32513251
* Select a **SO_REUSEPORT** socket from a
3252-
* **BPF_MAP_TYPE_REUSEPORT_ARRAY** *map*.
3252+
* **BPF_MAP_TYPE_REUSEPORT_SOCKARRAY** *map*.
32533253
* It checks the selected socket is matching the incoming
32543254
* request in the socket buffer.
32553255
* Return

‎tools/include/uapi/linux/bpf.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3249,7 +3249,7 @@ union bpf_attr {
32493249
* long bpf_sk_select_reuseport(struct sk_reuseport_md *reuse, struct bpf_map *map, void *key, u64 flags)
32503250
* Description
32513251
* Select a **SO_REUSEPORT** socket from a
3252-
* **BPF_MAP_TYPE_REUSEPORT_ARRAY** *map*.
3252+
* **BPF_MAP_TYPE_REUSEPORT_SOCKARRAY** *map*.
32533253
* It checks the selected socket is matching the incoming
32543254
* request in the socket buffer.
32553255
* Return

0 commit comments

Comments
 (0)