mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 00:20:51 +07:00
bpf: Fix a typo of reuseport map in bpf.h.
[ Upstream commit f170acda7ffaf0473d06e1e17c12cd9fd63904f5 ]
Fix s/BPF_MAP_TYPE_REUSEPORT_ARRAY/BPF_MAP_TYPE_REUSEPORT_SOCKARRAY/ typo
in bpf.h.
Fixes: 2dbb9b9e6d
("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>
This commit is contained in:
parent
02e0919b6c
commit
c74ddfd26f
@ -2450,7 +2450,7 @@ union bpf_attr {
|
|||||||
* long bpf_sk_select_reuseport(struct sk_reuseport_md *reuse, struct bpf_map *map, void *key, u64 flags)
|
* long bpf_sk_select_reuseport(struct sk_reuseport_md *reuse, struct bpf_map *map, void *key, u64 flags)
|
||||||
* Description
|
* Description
|
||||||
* Select a **SO_REUSEPORT** socket from a
|
* Select a **SO_REUSEPORT** socket from a
|
||||||
* **BPF_MAP_TYPE_REUSEPORT_ARRAY** *map*.
|
* **BPF_MAP_TYPE_REUSEPORT_SOCKARRAY** *map*.
|
||||||
* It checks the selected socket is matching the incoming
|
* It checks the selected socket is matching the incoming
|
||||||
* request in the socket buffer.
|
* request in the socket buffer.
|
||||||
* Return
|
* Return
|
||||||
|
@ -2450,7 +2450,7 @@ union bpf_attr {
|
|||||||
* long bpf_sk_select_reuseport(struct sk_reuseport_md *reuse, struct bpf_map *map, void *key, u64 flags)
|
* long bpf_sk_select_reuseport(struct sk_reuseport_md *reuse, struct bpf_map *map, void *key, u64 flags)
|
||||||
* Description
|
* Description
|
||||||
* Select a **SO_REUSEPORT** socket from a
|
* Select a **SO_REUSEPORT** socket from a
|
||||||
* **BPF_MAP_TYPE_REUSEPORT_ARRAY** *map*.
|
* **BPF_MAP_TYPE_REUSEPORT_SOCKARRAY** *map*.
|
||||||
* It checks the selected socket is matching the incoming
|
* It checks the selected socket is matching the incoming
|
||||||
* request in the socket buffer.
|
* request in the socket buffer.
|
||||||
* Return
|
* Return
|
||||||
|
Loading…
Reference in New Issue
Block a user