summaryrefslogtreecommitdiff
path: root/drivers/ipoe
diff options
context:
space:
mode:
authorDmitriy Eshenko <dmitriy.eshenko@accel-ppp.org>2023-01-24 12:49:04 +0000
committerDmitriy Eshenko <dmitriy.eshenko@accel-ppp.org>2023-01-24 12:49:04 +0000
commitb120b0d83e2145d1681f10003b13274dec6dc412 (patch)
tree531a352eaf93dbdb10aaadc22fc45d2a5378cd0d /drivers/ipoe
parent697649b8c265fc05c8bab20a612816e3951d2c68 (diff)
downloadaccel-ppp-b120b0d83e2145d1681f10003b13274dec6dc412.tar.gz
accel-ppp-b120b0d83e2145d1681f10003b13274dec6dc412.zip
ipoe,vlan_mon: add support for kernels 6.1+
Co-authored-by: Martin Zaharinov <micron@bngsoft.net>
Diffstat (limited to 'drivers/ipoe')
-rw-r--r--drivers/ipoe/ipoe.c3
1 files changed, 3 insertions, 0 deletions
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 = {