From: no-reply@sashiko.virtuozzo.com
To: Eva Kurchatova <eva.kurchatova@virtuozzo.com>,
khorenko@virtuozzo.com, vladimir.riabchun@virtuozzo.com
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 2/8] ms/tcp: Skip cond_resched() in inet_csk_listen_stop() under BPF context
Date: Tue, 1 Dec 2026 01:18:52 +0000 [thread overview]
Message-ID: <010701a22f2ee5d8-0f46bf5c-26be-4280-9250-8524ed8ff875-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261130184822.2743885-3-eva.kurchatova@virtuozzo.com>
> From: Jiayuan Chen <jiayuan.chen@linux.dev>
>
> [ Upstream commit eaab8cab451b9502ce224cd202550375b894a467 ]
>
> bpf_sock_destroy() runs from the tcp iterator, under rcu_read_lock(). If
> the sock is a listener that still has children in its accept queue,
> tcp_abort() ends up in inet_csk_listen_stop() and the cond_resched()
> there trips the debug check:
>
> BUG: sleeping function called from invalid context at net/ipv4/inet_connection_sock.c:1523
> in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 628, name: test_progs
> preempt_count: 0, expected: 0
> RCU nest depth: 1, expected: 0
> locks held by test_progs/628: 3, last CPU#3:
> #0: ffff8881158cee18 (&p->lock){+.+.}-{4:4}, at: bpf_seq_read+0x56/0x1210
> [ ... ]
>
> https://virtuozzo.atlassian.net/browse/VSTOR-157577
> Feature: fix ms/net
>
> Signed-off-by: Eva Kurchatova <eva.kurchatova@virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
Carry the trailer below into the next revision and Sashiko will not review this patch again.
Reviewed-by: Sashiko <no-reply@sashiko.virtuozzo.com>
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261130184822.2743885-1-eva.kurchatova@virtuozzo.com?part=2
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-12-01 1:20 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 18:45 [Devel] [PATCH hci-8.2 0/8] ms: backport additional TFO and CALIPSO fixes Eva Kurchatova
2026-11-30 18:45 ` [Devel] [PATCH hci-8.2 1/8] ms/tcp: clear sock_ops cb flags before force-closing a child socket Eva Kurchatova
2026-12-01 1:17 ` no-reply
2026-11-30 18:45 ` [Devel] [PATCH hci-8.2 2/8] ms/tcp: Skip cond_resched() in inet_csk_listen_stop() under BPF context Eva Kurchatova
2026-12-01 1:18 ` no-reply [this message]
2026-11-30 18:45 ` [Devel] [PATCH hci-8.2 3/8] ms/net/ipv6: Introduce payload_len helpers Eva Kurchatova
2026-12-01 1:21 ` no-reply
2026-11-30 18:45 ` [Devel] [PATCH hci-8.2 4/8] ms/calipso: keep BIG TCP payload_len in calipso_skbuff_setattr() Eva Kurchatova
2026-12-01 1:22 ` no-reply
2026-11-30 18:45 ` [Devel] [PATCH hci-8.2 5/8] ms/calipso: hash the cache key, not the option start, in calipso_cache_add() Eva Kurchatova
2026-12-01 1:23 ` no-reply
2026-11-30 18:45 ` [Devel] [PATCH hci-8.2 6/8] ms/calipso: update payload_len when removing the CALIPSO option Eva Kurchatova
2026-12-01 1:25 ` no-reply
2026-11-30 18:45 ` [Devel] [PATCH hci-8.2 7/8] ms/tcp: fix NULL pointer dereference when restarting a Fast Open listener Eva Kurchatova
2026-12-01 1:25 ` no-reply
2026-11-30 18:45 ` [Devel] [PATCH hci-8.2 8/8] ms/tcp: purge Fast Open RST queue when listen() fails Eva Kurchatova
2026-12-01 1:28 ` no-reply
2026-12-01 11:37 ` [Devel] [PATCH hci-8.2 0/8] ms: backport additional TFO and CALIPSO fixes Eva Kurchatova (Virtuozzo)
2026-12-01 15:42 ` Eva Kurchatova (Virtuozzo)
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=010701a22f2ee5d8-0f46bf5c-26be-4280-9250-8524ed8ff875-000000@eu-central-1.amazonses.com \
--to=no-reply@sashiko.virtuozzo.com \
--cc=devel@openvz.org \
--cc=eva.kurchatova@virtuozzo.com \
--cc=khorenko@virtuozzo.com \
--cc=vladimir.riabchun@virtuozzo.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