From 46b03088719bb07baf917a50f7673482e171ce90 Mon Sep 17 00:00:00 2001 From: Corey Minyard Date: Sat, 28 Dec 2024 16:06:08 -0600 Subject: [PATCH] ax25: In write(), do the sendlink add under the base lock The write operation no longer runs under the base lock, use the write function to add the channel to the sendlink queue. Signed-off-by: Corey Minyard --- lib/gensio_ax25.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gensio_ax25.c b/lib/gensio_ax25.c index f207bb0c..a43f0624 100644 --- a/lib/gensio_ax25.c +++ b/lib/gensio_ax25.c @@ -4386,7 +4386,7 @@ ax25_chan_write(struct ax25_chan *chan, gensiods *rcount, assert(chan->send_len <= chan->conf.writewindow); if (!chan->peer_rcv_bsy) - i_ax25_chan_schedule_write(chan); + ax25_chan_schedule_write(chan); out_unlock: ax25_chan_unlock(chan);