Re: [PATCH net v2 1/2] net/x25: don't call lock_sock() from softirq in x25_kill_by_neigh()

From: Martin Schiller

Date: Sat Nov 28 2026 - 02:37:04 EST


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.