Projects
KMP
r8168
r8168-support-linux-5.19.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r8168-support-linux-5.19.patch of Package r8168
--- r8168-8.053.00/src/r8168_n.c | 9 +++++++++ 1 file changed, 9 insertions(+) --- r8168-8.053.00/src/r8168_n.c +++ r8168-8.053.00/src/r8168_n.c 2024-05-21 09:57:57.192604776 +0000 @@ -126,6 +126,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 + static const struct { const char *name; const char *fw_name;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.