File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 3232#include <net/gso.h>
3333#endif
3434
35+ #if LINUX_VERSION_CODE >= KERNEL_VERSION (6 , 15 , 0 )
36+ /* see linux 326534e837 and 8fa7292fee */
37+ #define del_timer timer_delete
38+ #define del_timer_sync timer_delete_sync
39+ #endif
40+
3541static LIST_HEAD (device_list );
3642
3743static int wg_open (struct net_device * dev )
Original file line number Diff line number Diff line change 2626 * specified seconds.
2727 */
2828
29+ #if LINUX_VERSION_CODE >= KERNEL_VERSION (6 , 15 , 0 )
30+ /* see linux 326534e837 and 8fa7292fee */
31+ #define del_timer timer_delete
32+ #define del_timer_sync timer_delete_sync
33+ #endif
34+
2935static inline void mod_peer_timer (struct wg_peer * peer ,
3036 struct timer_list * timer ,
3137 unsigned long expires )
You can’t perform that action at this time.
0 commit comments