diff mbox series

bpf: Fix a typo of reuseport map in bpf.h.

Message ID 20210714124317.67526-1-kuniyu@amazon.co.jp (mailing list archive)
State Accepted
Delegated to: BPF
Headers show
Series bpf: Fix a typo of reuseport map in bpf.h. | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Iwashima, Kuniyuki July 14, 2021, 12:43 p.m. UTC
Fix s/BPF_MAP_TYPE_REUSEPORT_ARRAY/BPF_MAP_TYPE_REUSEPORT_SOCKARRAY/ typo
in bpf.h.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
---
 include/uapi/linux/bpf.h       | 2 +-
 tools/include/uapi/linux/bpf.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Martin KaFai Lau July 14, 2021, 5:40 p.m. UTC | #1
On Wed, Jul 14, 2021 at 09:43:17PM +0900, Kuniyuki Iwashima wrote:
> Fix s/BPF_MAP_TYPE_REUSEPORT_ARRAY/BPF_MAP_TYPE_REUSEPORT_SOCKARRAY/ typo
> in bpf.h.
> 
> Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
It could be bpf-next.

Fixes: 2dbb9b9e6df6 ("bpf: Introduce BPF_PROG_TYPE_SK_REUSEPORT")
Acked-by: Martin KaFai Lau <kafai@fb.com>
Iwashima, Kuniyuki July 14, 2021, 9:14 p.m. UTC | #2
From:   Martin KaFai Lau <kafai@fb.com>
Date:   Wed, 14 Jul 2021 10:40:13 -0700
> On Wed, Jul 14, 2021 at 09:43:17PM +0900, Kuniyuki Iwashima wrote:
> > Fix s/BPF_MAP_TYPE_REUSEPORT_ARRAY/BPF_MAP_TYPE_REUSEPORT_SOCKARRAY/ typo
> > in bpf.h.
> > 
> > Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
> It could be bpf-next.

Yes, and sorry for forgetting adding it in the subject.


> 
> Fixes: 2dbb9b9e6df6 ("bpf: Introduce BPF_PROG_TYPE_SK_REUSEPORT")
> Acked-by: Martin KaFai Lau <kafai@fb.com>

Thank you.
John Fastabend July 14, 2021, 11:45 p.m. UTC | #3
Martin KaFai Lau wrote:
> On Wed, Jul 14, 2021 at 09:43:17PM +0900, Kuniyuki Iwashima wrote:
> > Fix s/BPF_MAP_TYPE_REUSEPORT_ARRAY/BPF_MAP_TYPE_REUSEPORT_SOCKARRAY/ typo
> > in bpf.h.
> > 
> > Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
> It could be bpf-next.
> 
> Fixes: 2dbb9b9e6df6 ("bpf: Introduce BPF_PROG_TYPE_SK_REUSEPORT")
> Acked-by: Martin KaFai Lau <kafai@fb.com>

LGTM with fixes and bpf-next.

Acked-by: John Fastabend <john.fastabend@gmail.com>
Alexei Starovoitov July 15, 2021, 1:13 a.m. UTC | #4
On Wed, Jul 14, 2021 at 4:45 PM John Fastabend <john.fastabend@gmail.com> wrote:
>
> Martin KaFai Lau wrote:
> > On Wed, Jul 14, 2021 at 09:43:17PM +0900, Kuniyuki Iwashima wrote:
> > > Fix s/BPF_MAP_TYPE_REUSEPORT_ARRAY/BPF_MAP_TYPE_REUSEPORT_SOCKARRAY/ typo
> > > in bpf.h.
> > >
> > > Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp>
> > It could be bpf-next.
> >
> > Fixes: 2dbb9b9e6df6 ("bpf: Introduce BPF_PROG_TYPE_SK_REUSEPORT")
> > Acked-by: Martin KaFai Lau <kafai@fb.com>
>
> LGTM with fixes and bpf-next.
>
> Acked-by: John Fastabend <john.fastabend@gmail.com>

Applied. Thanks
diff mbox series

Patch

diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
index b46a383e8db7..bafb6282032b 100644
--- a/include/uapi/linux/bpf.h
+++ b/include/uapi/linux/bpf.h
@@ -3246,7 +3246,7 @@  union bpf_attr {
  * long bpf_sk_select_reuseport(struct sk_reuseport_md *reuse, struct bpf_map *map, void *key, u64 flags)
  *	Description
  *		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
  *		request in the socket buffer.
  *	Return
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h
index bf9252c7381e..5cdff1631608 100644
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -3249,7 +3249,7 @@  union bpf_attr {
  * long bpf_sk_select_reuseport(struct sk_reuseport_md *reuse, struct bpf_map *map, void *key, u64 flags)
  *	Description
  *		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
  *		request in the socket buffer.
  *	Return