aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/patches-5.4/424-bcm63xx_enet_no_request_mem_region.patch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2021-01-28 11:49:16 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2021-01-28 12:01:14 +0100
commit7d12f29ae1d7337e4289baf9e6b4bf79445b0d59 (patch)
treef1de19bc16dffcb0babcfe064dbb3bea0c1a014d /target/linux/bcm63xx/patches-5.4/424-bcm63xx_enet_no_request_mem_region.patch
parent7521aedff46f731036c09f44859262085c00d303 (diff)
downloadupstream-7d12f29ae1d7337e4289baf9e6b4bf79445b0d59.tar.gz
upstream-7d12f29ae1d7337e4289baf9e6b4bf79445b0d59.tar.bz2
upstream-7d12f29ae1d7337e4289baf9e6b4bf79445b0d59.zip
bcm63xx: fix bcm63xx ethernet kernel panics
Calling netdev_reset_queue() from _stop() functions is causing sporadic kernel panics on bcm63xx, which happen mainly on BCM6318 and BCM6328. This reverts to the previous behaviour, which called netdev_reset_queue() from _open() functions. Tested on Comtrend AR-5315u (BCM6318). Fixes: 1d6f422e346b ("bcm63xx: sync ethernet driver with net-next") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/patches-5.4/424-bcm63xx_enet_no_request_mem_region.patch')
-rw-r--r--target/linux/bcm63xx/patches-5.4/424-bcm63xx_enet_no_request_mem_region.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/bcm63xx/patches-5.4/424-bcm63xx_enet_no_request_mem_region.patch b/target/linux/bcm63xx/patches-5.4/424-bcm63xx_enet_no_request_mem_region.patch
index 240525083c..6c002a7b5f 100644
--- a/target/linux/bcm63xx/patches-5.4/424-bcm63xx_enet_no_request_mem_region.patch
+++ b/target/linux/bcm63xx/patches-5.4/424-bcm63xx_enet_no_request_mem_region.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c
+++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
-@@ -2710,9 +2710,9 @@ static int bcm_enetsw_probe(struct platf
+@@ -2711,9 +2711,9 @@ static int bcm_enetsw_probe(struct platf
if (ret)
goto out;