Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 796294 Details for
Bug 862609
net-misc/r8168: error: implicit declaration of function 'netif_set_gso_max_size
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
r8168-8.050.03-linux-5.19.patch
r8168-8.050.03-linux-5.19.patch (text/plain), 849 bytes, created by
Peter Levine
on 2022-08-01 02:02:27 UTC
(
hide
)
Description:
r8168-8.050.03-linux-5.19.patch
Filename:
MIME Type:
Creator:
Peter Levine
Created:
2022-08-01 02:02:27 UTC
Size:
849 bytes
patch
obsolete
>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;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 862609
: 796294