hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/hamradio/scc.c
....@@ -7,7 +7,7 @@
77 * ------------------
88 *
99 * You can find a subset of the documentation in
10
- * Documentation/networking/z8530drv.txt.
10
+ * Documentation/networking/device_drivers/hamradio/z8530drv.rst.
1111 */
1212
1313 /*
....@@ -300,12 +300,12 @@
300300 spin_lock_irqsave(&scc->lock, flags);
301301 if (scc->tx_buff != NULL)
302302 {
303
- dev_kfree_skb(scc->tx_buff);
303
+ dev_kfree_skb_irq(scc->tx_buff);
304304 scc->tx_buff = NULL;
305305 }
306306
307307 while (!skb_queue_empty(&scc->tx_queue))
308
- dev_kfree_skb(skb_dequeue(&scc->tx_queue));
308
+ dev_kfree_skb_irq(skb_dequeue(&scc->tx_queue));
309309
310310 spin_unlock_irqrestore(&scc->lock, flags);
311311 }
....@@ -1667,7 +1667,7 @@
16671667 if (skb_queue_len(&scc->tx_queue) > scc->dev->tx_queue_len) {
16681668 struct sk_buff *skb_del;
16691669 skb_del = skb_dequeue(&scc->tx_queue);
1670
- dev_kfree_skb(skb_del);
1670
+ dev_kfree_skb_irq(skb_del);
16711671 }
16721672 skb_queue_tail(&scc->tx_queue, skb);
16731673 netif_trans_update(dev);