Linux X.25 subsystem development
 help / color / mirror / Atom feed
From: Martin Schiller <ms@dev.tdt.de>
To: willemb@google.com
Cc: Yu Gao <SuperSkidder@qq.com>,
	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: Mon, 30 Nov 2026 08:01:48 +0100 (CET)	[thread overview]
Message-ID: <b6f6ff77acd2ea23efc7dc9bae0a3f77@dev.tdt.de> (raw)
In-Reply-To: <willemb.1ecc71273e778@google.com>

On Mon, 30 Nov 2026 04:21:06 +0100, Willem de Bruijn wrote:
>      Decoupling this at the LAPB layer instead — releasing lapb_list_lock
>      right after unlinking in lapb_unregister() and not calling
>      callbacks->data_transmit() under &lapb->lock (e.g. deferring
>      transmit outside &lapb->lock) — fixes the root lock inversion across
>      TX, RX, and timers without regressing TX loop detection.

Agreed. Patch 2 trades the TX loop detection for a hard deadlock, and
the lapbether changes leave the inversion in LAPB itself in place. The
usleep_range() under lapb_list_lock in lapb_unregister() needs fixing
anyway.

So please consider my Acked-by on this series withdrawn. Yu, would you
like to rework it at the LAPB level along these lines? I'm happy to
review it and to test it with X.25 on top.

  reply	other threads:[~2026-11-30  7:01 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
2026-11-30  3:21 ` willemb
2026-11-30  7:01   ` Martin Schiller [this message]
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=b6f6ff77acd2ea23efc7dc9bae0a3f77@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=willemb@google.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox