BPF Archive on lore.kernel.org
 help / color / Atom feed
* 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, back to index

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

BPF Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/bpf/0 bpf/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 bpf bpf/ https://lore.kernel.org/bpf \
		bpf@vger.kernel.org
	public-inbox-index bpf

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.bpf


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git