* [PATCH] bpf: Fix a typo of reuseport map in bpf.h.
@ 2021-07-14 12:43 Kuniyuki Iwashima
2021-07-14 17:40 ` Martin KaFai Lau
0 siblings, 1 reply; 5+ messages in thread
From: Kuniyuki Iwashima @ 2021-07-14 12:43 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko
Cc: Martin KaFai Lau, Kuniyuki Iwashima, Kuniyuki Iwashima, bpf
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(-)
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
--
2.30.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] bpf: Fix a typo of reuseport map in bpf.h.
2021-07-14 12:43 [PATCH] bpf: Fix a typo of reuseport map in bpf.h Kuniyuki Iwashima
@ 2021-07-14 17:40 ` Martin KaFai Lau
2021-07-14 21:14 ` Kuniyuki Iwashima
2021-07-14 23:45 ` John Fastabend
0 siblings, 2 replies; 5+ messages in thread
From: Martin KaFai Lau @ 2021-07-14 17:40 UTC (permalink / raw)
To: Kuniyuki Iwashima
Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Kuniyuki Iwashima, bpf
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] bpf: Fix a typo of reuseport map in bpf.h.
2021-07-14 17:40 ` Martin KaFai Lau
@ 2021-07-14 21:14 ` Kuniyuki Iwashima
2021-07-14 23:45 ` John Fastabend
1 sibling, 0 replies; 5+ messages in thread
From: Kuniyuki Iwashima @ 2021-07-14 21:14 UTC (permalink / raw)
To: kafai; +Cc: andrii, ast, bpf, daniel, kuni1840, kuniyu
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] bpf: Fix a typo of reuseport map in bpf.h.
2021-07-14 17:40 ` Martin KaFai Lau
2021-07-14 21:14 ` Kuniyuki Iwashima
@ 2021-07-14 23:45 ` John Fastabend
2021-07-15 1:13 ` Alexei Starovoitov
1 sibling, 1 reply; 5+ messages in thread
From: John Fastabend @ 2021-07-14 23:45 UTC (permalink / raw)
To: Martin KaFai Lau, Kuniyuki Iwashima
Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
Kuniyuki Iwashima, bpf
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] bpf: Fix a typo of reuseport map in bpf.h.
2021-07-14 23:45 ` John Fastabend
@ 2021-07-15 1:13 ` Alexei Starovoitov
0 siblings, 0 replies; 5+ messages in thread
From: Alexei Starovoitov @ 2021-07-15 1:13 UTC (permalink / raw)
To: John Fastabend
Cc: Martin KaFai Lau, Kuniyuki Iwashima, Alexei Starovoitov,
Daniel Borkmann, Andrii Nakryiko, Kuniyuki Iwashima, bpf
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-07-15 1:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 12:43 [PATCH] bpf: Fix a typo of reuseport map in bpf.h Kuniyuki Iwashima
2021-07-14 17:40 ` Martin KaFai Lau
2021-07-14 21:14 ` Kuniyuki Iwashima
2021-07-14 23:45 ` John Fastabend
2021-07-15 1:13 ` Alexei Starovoitov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.