From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/net/ethernet/apple/bmac.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/net/ethernet/apple/bmac.c b/kernel/drivers/net/ethernet/apple/bmac.c
index 1e4e402..dd6c44f 100644
--- a/kernel/drivers/net/ethernet/apple/bmac.c
+++ b/kernel/drivers/net/ethernet/apple/bmac.c
@@ -1511,7 +1511,7 @@
i = bp->tx_empty;
++dev->stats.tx_errors;
if (i != bp->tx_fill) {
- dev_kfree_skb(bp->tx_bufs[i]);
+ dev_kfree_skb_irq(bp->tx_bufs[i]);
bp->tx_bufs[i] = NULL;
if (++i >= N_TX_RING) i = 0;
bp->tx_empty = i;
--
Gitblit v1.6.2