All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Schiller <ms@dev.tdt.de>
To: netdev-bot+sashiko@kernel.org
Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
	pabeni@redhat.com, willemb@google.com, horms@kernel.org,
	linma@zju.edu.cn, duoming@zju.edu.cn, xiyuyang19@fudan.edu.cn,
	tanxin.ctf@gmail.com, linux-x25@vger.kernel.org,
	netdev@vger.kernel.org, ngocthang2710.1999@gmail.com,
	847807867@qq.com, krystianmkaniewski@gmail.com,
	syzbot+300375dfd44665f063a6@syzkaller.appspotmail.com,
	syzbot+9faa82ae2e94c5c7d2ef@syzkaller.appspotmail.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH net v2 1/2] net/x25: don't call lock_sock() from softirq in x25_kill_by_neigh()
Date: Sat, 28 Nov 2026 08:36:36 +0100 (CET)	[thread overview]
Message-ID: <2bc1bca886a970c1ed3da2eab7ff0709@dev.tdt.de> (raw)
In-Reply-To: <179585053119.3135.1065383095936227619@kernel.org>

On Sat, 28 Nov 2026 08:22:11 +0100, netdev-bot wrote:
> - [Medium] net/x25/af_x25.c: the patch adds `!test_bit(X25_KILL_FLAG,
>   ...)` to __x25_find_socket().
> - [Medium] The X25_KILL_FLAG checks that the patch adds in x25_kick()
>   (net/x25/x25_out.c) and x25_write_internal() (net/x25/x25_subr.c) are…

Both are valid. I'll send a v3 that clears X25_KILL_FLAG only after
x25_disconnect() has reset the LCI, and that takes the socket spinlock
around transmissions in process context and around the backlog
processing, so that a flagged socket cannot send frames of the old call
after the restart has been confirmed.

  reply	other threads:[~2026-11-28  7:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  6:28 [PATCH net v2 0/2] net/x25: don't call lock_sock() from softirq in x25_kill_by_neigh() Martin Schiller
2026-11-27  6:28 ` [PATCH net v2 1/2] " Martin Schiller
2026-11-28  7:22   ` netdev-bot+sashiko
2026-11-28  7:36     ` Martin Schiller [this message]
2026-11-27  6:28 ` [PATCH net v2 2/2] net/x25: re-check x25->neighbour after re-acquiring the socket lock Martin Schiller
2026-11-27  6:33 ` [PATCH net v2 0/2] net/x25: don't call lock_sock() from softirq in x25_kill_by_neigh() netdev-bot+sinfo
2026-11-27  6:43   ` Martin Schiller
2026-11-27 11:48 ` Martin Schiller
2026-11-27 13:30 ` Krystian Kaniewski
2026-11-28  5:52   ` Martin Schiller
2026-11-28  2:19 ` Shuai Liu

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=2bc1bca886a970c1ed3da2eab7ff0709@dev.tdt.de \
    --to=ms@dev.tdt.de \
    --cc=847807867@qq.com \
    --cc=davem@davemloft.net \
    --cc=duoming@zju.edu.cn \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=krystianmkaniewski@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linma@zju.edu.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-x25@vger.kernel.org \
    --cc=netdev-bot+sashiko@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=ngocthang2710.1999@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=syzbot+300375dfd44665f063a6@syzkaller.appspotmail.com \
    --cc=syzbot+9faa82ae2e94c5c7d2ef@syzkaller.appspotmail.com \
    --cc=tanxin.ctf@gmail.com \
    --cc=willemb@google.com \
    --cc=xiyuyang19@fudan.edu.cn \
    /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.