From b120b0d83e2145d1681f10003b13274dec6dc412 Mon Sep 17 00:00:00 2001 From: Dmitriy Eshenko Date: Tue, 24 Jan 2023 12:49:04 +0000 Subject: ipoe,vlan_mon: add support for kernels 6.1+ Co-authored-by: Martin Zaharinov --- drivers/ipoe/ipoe.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/ipoe') diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c index 5a5f68b8..95970466 100644 --- a/drivers/ipoe/ipoe.c +++ b/drivers/ipoe/ipoe.c @@ -1876,6 +1876,9 @@ static struct genl_family ipoe_nl_family = { #if LINUX_VERSION_CODE >= KERNEL_VERSION(5,2,0) .policy = ipoe_nl_policy, #endif +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,1,0) + .resv_start_op = CTRL_CMD_GETPOLICY + 1, +#endif }; static const struct net_device_ops ipoe_netdev_ops = { -- cgit v1.2.3