BPF List
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Lucien Wang <lcnwed@gmail.com>
Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
	john.fastabend@gmail.com
Subject: Re: There has a backport bug between v5.10.79 and v5.10.80 when run bpf selftest "test_sockmap" on 5.10 lts kernel
Date: Fri, 2 Feb 2024 07:03:30 -0800	[thread overview]
Message-ID: <2024020216-expenses-slobbery-9100@gregkh> (raw)
In-Reply-To: <CAHViUT2y81_JHsuSDfH9Vu_KRbanvmGY_1Bs4jfrGyZPGHCbdg@mail.gmail.com>

On Fri, Feb 02, 2024 at 11:40:38AM +0800, Lucien Wang wrote:
> Kernel version:16ad71c250c1 (HEAD -> linux-5.10.y, tag: v5.10.209,
> origin/linux-5.10.y) Linux 5.10.209
> 
> Bug reproduced steps:
> 1.  cd (kernel source tree root)/tools/testing/selftests/bpf
> 2.  make test_sockmap ; make test_progs
> 3.  ./test_sockmap
> # 1/ 6  sockmap::txmsg test passthrough:OK
> # 2/ 6  sockmap::txmsg test redirect:OK
> # 3/ 6  sockmap::txmsg test drop:OK
> # 4/ 6  sockmap::txmsg test ingress redirect:OK
> 
> After "# 4/ 6  sockmap::txmsg test ingress redirect:OK" display from
> terminal, the main process stucks and sends nothing.
> 4. In other terminal run " ps fax |grep sockmap " ,below is output
>   13076 pts/0    S+     0:00  |           \_ ./test_sockmap
>   13129 pts/0    S+     0:00  |               \_ ./test_sockmap
>   13130 pts/0    Z+     0:00  |               \_ [test_sockmap] <defunct>
>   13237 pts/1    S+     0:00              \_ grep --color=auto sockmap
> Obversely, because of child process 13129 sleep, so the main process is stuck.
> 
> My research:
> I use Bisection method to find the bug patch " c842a4c4ae7f bpf:
> sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding
> "(on linux-5.10.y branch), it backport from v5.16-rc1 ,
> It must due to merge high patches incompletely, Please take a few
> moment for this.

I do not understand, sorry, what exactly do you want us to do here?

confused,

greg k-h

  reply	other threads:[~2024-02-02 15:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-02  3:40 There has a backport bug between v5.10.79 and v5.10.80 when run bpf selftest "test_sockmap" on 5.10 lts kernel Lucien Wang
2024-02-02 15:03 ` Greg KH [this message]
2024-02-04  0:35   ` Lucien Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2024020216-expenses-slobbery-9100@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=john.fastabend@gmail.com \
    --cc=lcnwed@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox