* Re: WARNING net/core/stream.c:208 when running test_sockmap [not found] <YG3SuK4W/N9jqknL@krava> @ 2021-04-07 23:14 ` Cong Wang 2021-04-08 10:12 ` Jiri Olsa 0 siblings, 1 reply; 2+ messages in thread From: Cong Wang @ 2021-04-07 23:14 UTC (permalink / raw) To: Jiri Olsa Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, Paolo Abeni, bpf, Linux Kernel Network Developers, Martin KaFai Lau, Song Liu, Yonghong Song, John Fastabend, KP Singh, Toke Høiland-Jørgensen, Jiri Olsa, Jiri Benc, Yauheni Kaliuta On Wed, Apr 7, 2021 at 2:22 PM Jiri Olsa <jolsa@redhat.com> wrote: > > hi, > I'm getting couple of WARNINGs below when running > test_sockmap on latest bpf-next/master, like: > > # while :; do ./test_sockmap ; done > > The warning is at: > WARN_ON(sk->sk_forward_alloc); > > so looks like some socket allocation math goes wrong. This one should be fixed by: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=144748eb0c445091466c9b741ebd0bfcc5914f3d So please try the latest bpf branch. Thanks. ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: WARNING net/core/stream.c:208 when running test_sockmap 2021-04-07 23:14 ` WARNING net/core/stream.c:208 when running test_sockmap Cong Wang @ 2021-04-08 10:12 ` Jiri Olsa 0 siblings, 0 replies; 2+ messages in thread From: Jiri Olsa @ 2021-04-08 10:12 UTC (permalink / raw) To: Cong Wang Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko, Paolo Abeni, bpf, Linux Kernel Network Developers, Martin KaFai Lau, Song Liu, Yonghong Song, John Fastabend, KP Singh, Toke Høiland-Jørgensen, Jiri Olsa, Jiri Benc, Yauheni Kaliuta On Wed, Apr 07, 2021 at 04:14:27PM -0700, Cong Wang wrote: > On Wed, Apr 7, 2021 at 2:22 PM Jiri Olsa <jolsa@redhat.com> wrote: > > > > hi, > > I'm getting couple of WARNINGs below when running > > test_sockmap on latest bpf-next/master, like: > > > > # while :; do ./test_sockmap ; done > > > > The warning is at: > > WARN_ON(sk->sk_forward_alloc); > > > > so looks like some socket allocation math goes wrong. > > This one should be fixed by: > https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=144748eb0c445091466c9b741ebd0bfcc5914f3d > > So please try the latest bpf branch. awesome, thanks jirka ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-08 10:12 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <YG3SuK4W/N9jqknL@krava> 2021-04-07 23:14 ` WARNING net/core/stream.c:208 when running test_sockmap Cong Wang 2021-04-08 10:12 ` Jiri Olsa
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).