From: Martin Schiller <ms@dev.tdt.de>
To: Yu Gao <SuperSkidder@qq.com>
Cc: netdev@vger.kernel.org, linux-x25@vger.kernel.org,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Xie He <xie.he.0141@gmail.com>, Hillf Danton <hdanton@sina.com>,
syzbot+059a2795ad4cff2a2695@syzkaller.appspotmail.com,
syzbot+8328573e4d0514392471@syzkaller.appspotmail.com
Subject: Re: [PATCH net 0/2] net: lapbether: fix lock cycles reported by syzbot
Date: Wed, 25 Nov 2026 09:52:26 +0100 (CET) [thread overview]
Message-ID: <9361755745d807ce6beee97873db197c@dev.tdt.de> (raw)
In-Reply-To: <tencent_AD34C10B65771ADD86725F3221EE31778507@qq.com>
On Wed, 25 Nov 2026 05:59:07 +0100, Yu Gao wrote:
> Patch 1 stops holding up_lock across calls into LAPB and removes it.
Thanks, this is a small and clean way to break both cycles. Both entry
points into LAPB run in an RCU read-side critical section, so
synchronize_net() covers them, and LAPB serializes the rest under
lapb->lock, so lapbeth_xmit() doesn't need the TX lock.
> No end-to-end test with X.25 sockets was done.
With the series applied on top of the pending x25_kill_by_neigh() fix,
an X.25 end-to-end test over two lapbether devices on a veth pair
passes with lockdep and without warnings: calls over the link, a LAPB
disconnect and a restart while calls are up, and
"ip link set lapb0 down".
For the series:
Acked-by: Martin Schiller <ms@dev.tdt.de>
next prev parent reply other threads:[~2026-11-25 8:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 4:59 [PATCH net 0/2] net: lapbether: fix lock cycles reported by syzbot Yu Gao
2026-11-25 8:52 ` Martin Schiller [this message]
2026-11-30 3:21 ` willemb
2026-11-30 7:01 ` Martin Schiller
2026-11-30 7:39 ` SuperSkidder
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=9361755745d807ce6beee97873db197c@dev.tdt.de \
--to=ms@dev.tdt.de \
--cc=SuperSkidder@qq.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=hdanton@sina.com \
--cc=kuba@kernel.org \
--cc=linux-x25@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=syzbot+059a2795ad4cff2a2695@syzkaller.appspotmail.com \
--cc=syzbot+8328573e4d0514392471@syzkaller.appspotmail.com \
--cc=xie.he.0141@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 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.