diff --git a/pkgs/r8125/r8125-9.011.00/debian/changelog b/pkgs/r8125/r8125-9.011.00/debian/changelog index a2e39d8..66ea223 100644 --- a/pkgs/r8125/r8125-9.011.00/debian/changelog +++ b/pkgs/r8125/r8125-9.011.00/debian/changelog @@ -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 Sat, 06 Apr 2024 14:35:37 +0200 + r8125 (9.011.00-4) unstable; urgency=medium * debian/patches diff --git a/pkgs/r8125/r8125-9.011.00/debian/patches/linux-6.8.patch b/pkgs/r8125/r8125-9.011.00/debian/patches/linux-6.8.patch new file mode 100644 index 0000000..8f394fb --- /dev/null +++ b/pkgs/r8125/r8125-9.011.00/debian/patches/linux-6.8.patch @@ -0,0 +1,23 @@ +From d04a02740db7c2dc49da5009ad93e4a8eba2f64f Mon Sep 17 00:00:00 2001 +From: Paolo Pisati +Date: Wed, 27 Mar 2024 13:14:49 +0000 +Subject: [PATCH] Linux 6.8 support + +Signed-off-by: Paolo Pisati +Signed-off-by: Thomas Lamprecht +--- + 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)); + } diff --git a/pkgs/r8125/r8125-9.011.00/debian/patches/series b/pkgs/r8125/r8125-9.011.00/debian/patches/series index 60f58ab..7904c62 100644 --- a/pkgs/r8125/r8125-9.011.00/debian/patches/series +++ b/pkgs/r8125/r8125-9.011.00/debian/patches/series @@ -1 +1,2 @@ linux6.1.patch +linux-6.8.patch