Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:Slowroll:extra
r8168-8.051.02-1699.4.src
r8168-support-linux-5.19.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r8168-support-linux-5.19.patch of Package r8168-8.051.02-1699.4.src
--- r8168-8.050.03/src/r8168_n.c +++ r8168-8.050.03/src/r8168_n.c @@ -121,6 +121,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;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor