aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.4/950-0132-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-01-13 10:06:20 +0100
committerDavid Bauer <mail@david-bauer.net>2022-01-13 20:30:59 +0100
commit43d105ec2aa2ee35c9687eab965ac8006e6484ce (patch)
tree5e65bd8062452e4f46c2a8ddbe75f0a9e5176aed /target/linux/bcm27xx/patches-5.4/950-0132-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch
parent1db847488de5a86e1ad203f51c88a5df72cc9e2f (diff)
downloadupstream-43d105ec2aa2ee35c9687eab965ac8006e6484ce.tar.gz
upstream-43d105ec2aa2ee35c9687eab965ac8006e6484ce.tar.bz2
upstream-43d105ec2aa2ee35c9687eab965ac8006e6484ce.zip
kernel: bump 5.4 to 5.4.171
Compile-tested: ath79-generic ipq40xx-generic Run-tested: ath79-generic Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'target/linux/bcm27xx/patches-5.4/950-0132-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch')
-rw-r--r--target/linux/bcm27xx/patches-5.4/950-0132-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/bcm27xx/patches-5.4/950-0132-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch b/target/linux/bcm27xx/patches-5.4/950-0132-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch
index 19ea77e99c..fe073c66df 100644
--- a/target/linux/bcm27xx/patches-5.4/950-0132-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch
+++ b/target/linux/bcm27xx/patches-5.4/950-0132-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch
@@ -15,7 +15,7 @@ See: https://github.com/raspberrypi/linux/issues/2447
1 file changed, 11 insertions(+), 1 deletion(-)
--- a/drivers/net/usb/lan78xx.c
+++ b/drivers/net/usb/lan78xx.c
-@@ -434,6 +434,11 @@ static bool enable_tso;
+@@ -436,6 +436,11 @@ static bool enable_tso;
module_param(enable_tso, bool, 0644);
MODULE_PARM_DESC(enable_tso, "Enables TCP segmentation offload");
@@ -27,7 +27,7 @@ See: https://github.com/raspberrypi/linux/issues/2447
static int lan78xx_read_reg(struct lan78xx_net *dev, u32 index, u32 *data)
{
u32 *buf = kmalloc(sizeof(u32), GFP_KERNEL);
-@@ -3776,7 +3781,12 @@ static int lan78xx_probe(struct usb_inte
+@@ -3778,7 +3783,12 @@ static int lan78xx_probe(struct usb_inte
netdev->max_mtu = MAX_SINGLE_PACKET_SIZE;
netif_set_gso_max_size(netdev, MAX_SINGLE_PACKET_SIZE - MAX_HEADER);