diff options
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 |
commit | 7d12f29ae1d7337e4289baf9e6b4bf79445b0d59 (patch) | |
tree | f1de19bc16dffcb0babcfe064dbb3bea0c1a014d /target/linux/bcm63xx/patches-5.4/402_bcm63xx_enet_vlan_incoming_fixed.patch | |
parent | 7521aedff46f731036c09f44859262085c00d303 (diff) | |
download | upstream-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/402_bcm63xx_enet_vlan_incoming_fixed.patch')
-rw-r--r-- | target/linux/bcm63xx/patches-5.4/402_bcm63xx_enet_vlan_incoming_fixed.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/bcm63xx/patches-5.4/402_bcm63xx_enet_vlan_incoming_fixed.patch b/target/linux/bcm63xx/patches-5.4/402_bcm63xx_enet_vlan_incoming_fixed.patch index 949fb8d293..bd0c4cfc3f 100644 --- a/target/linux/bcm63xx/patches-5.4/402_bcm63xx_enet_vlan_incoming_fixed.patch +++ b/target/linux/bcm63xx/patches-5.4/402_bcm63xx_enet_vlan_incoming_fixed.patch @@ -1,6 +1,6 @@ --- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c +++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c -@@ -1629,7 +1629,7 @@ static int bcm_enet_change_mtu(struct ne +@@ -1630,7 +1630,7 @@ static int bcm_enet_change_mtu(struct ne return -EBUSY; /* add ethernet header + vlan tag size */ |