r8125: backport fix for 6.8 and bump package version to 9.011.00-4.1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2024-04-06 14:36:34 +02:00
parent a2ebcb4d9c
commit 693166c609
3 changed files with 31 additions and 0 deletions

View File

@ -1,3 +1,10 @@
r8125 (9.011.00-4.1) unstable; urgency=medium
* Non-maintainer upload.
* backport fix that changes strlcpy to strscpy for Linux 6.8 support
-- Proxmox Support Team <support@proxmox.com> Sat, 06 Apr 2024 14:35:37 +0200
r8125 (9.011.00-4) unstable; urgency=medium
* debian/patches

View File

@ -0,0 +1,23 @@
From d04a02740db7c2dc49da5009ad93e4a8eba2f64f Mon Sep 17 00:00:00 2001
From: Paolo Pisati <paolo.pisati@canonical.com>
Date: Wed, 27 Mar 2024 13:14:49 +0000
Subject: [PATCH] Linux 6.8 support
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
---
src/r8125_n.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/r8125_n.c b/src/r8125_n.c
index 6ca7201..cd51d69 100755
--- a/src/r8125_n.c
+++ b/src/r8125_n.c
@@ -4791,7 +4791,7 @@ rtl8125_get_drvinfo(struct net_device *dev,
info->eedump_len = tp->eeprom_len;
BUILD_BUG_ON(sizeof(info->fw_version) < sizeof(rtl_fw->version));
if (rtl_fw)
- strlcpy(info->fw_version, rtl_fw->version,
+ strscpy(info->fw_version, rtl_fw->version,
sizeof(info->fw_version));
}

View File

@ -1 +1,2 @@
linux6.1.patch
linux-6.8.patch