diff options
author | Dmitriy Eshenko <dmitriy.eshenko@accel-ppp.org> | 2023-07-20 10:17:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-20 10:17:35 +0300 |
commit | eafba38b3220d488ed86ebdbc1728f42238a4952 (patch) | |
tree | e157972de3c4fb2883f43f4235d580d100a4b170 | |
parent | 68619177404c643441e611cd022c9d5074fa81cc (diff) | |
parent | 10382e2a0a7a8b9e76d9bcc2487f0bfe693547c2 (diff) | |
download | accel-ppp-eafba38b3220d488ed86ebdbc1728f42238a4952.tar.gz accel-ppp-eafba38b3220d488ed86ebdbc1728f42238a4952.zip |
Merge pull request #98 from DmitriyEshenko/ipoe-6.3-compat
ipoe: Add kernel 6.3 compatibility
-rw-r--r-- | drivers/ipoe/ipoe.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c index 95970466..0b8e2cbf 100644 --- a/drivers/ipoe/ipoe.c +++ b/drivers/ipoe/ipoe.c @@ -166,9 +166,14 @@ static struct genl_multicast_group ipoe_nl_mcg; #endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0) || RHEL_MAJOR == 7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,3,0) +#define u64_stats_fetch_begin_bh u64_stats_fetch_begin +#define u64_stats_fetch_retry_bh u64_stats_fetch_retry +#else #define u64_stats_fetch_begin_bh u64_stats_fetch_begin_irq #define u64_stats_fetch_retry_bh u64_stats_fetch_retry_irq #endif +#endif #ifndef NETIF_F_HW_VLAN_FILTER #define NETIF_F_HW_VLAN_FILTER NETIF_F_HW_VLAN_CTAG_FILTER |