diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-26 21:58:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-26 21:58:19 +0000 |
commit | a0953f7ac639d8e180f62ab3364ccf9af71f783d (patch) | |
tree | 49c27625d74c6c1857a4b9172594a5888344f102 /net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch | |
parent | ae8c098416c6e714f4466e330d7272cd5e46d452 (diff) |
gentoo auto-resync : 26:02:2023 - 21:58:19
Diffstat (limited to 'net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch')
-rw-r--r-- | net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch b/net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch deleted file mode 100644 index d0f5d30ada06..000000000000 --- a/net-misc/r8168/files/r8168-8.050.03-5.19-fix.patch +++ /dev/null @@ -1,23 +0,0 @@ -From: Andrea Righi <andrea.righi@canonical.com> -Subject: support linux 5.19 - -Index: r8168-8.050.03/src/r8168_n.c -=================================================================== ---- r8168-8.050.03.orig/src/r8168_n.c -+++ r8168-8.050.03/src/r8168_n.c -@@ -116,6 +116,15 @@ - #define FIRMWARE_8168FP_3 "rtl_nic/rtl8168fp-3.fw" - #define FIRMWARE_8168FP_4 "rtl_nic/rtl8168fp-4.fw" - -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0) -+static inline void netif_set_gso_max_size(struct net_device *dev, -+ unsigned int size) -+{ -+ /* dev->gso_max_size is read locklessly from sk_setup_caps() */ -+ WRITE_ONCE(dev->gso_max_size, size); -+} -+#endif -+ - /* Maximum number of multicast addresses to filter (vs. Rx-all-multicast). - The RTL chips use a 64 element hash table based on the Ethernet CRC. */ - static const int multicast_filter_limit = 32; |