summaryrefslogtreecommitdiff
path: root/drivers/vlan_mon/vlan_mon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/vlan_mon/vlan_mon.c')
-rw-r--r--drivers/vlan_mon/vlan_mon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/vlan_mon/vlan_mon.c b/drivers/vlan_mon/vlan_mon.c
index 271f2ff1..ce56dfe1 100644
--- a/drivers/vlan_mon/vlan_mon.c
+++ b/drivers/vlan_mon/vlan_mon.c
@@ -707,6 +707,9 @@ static struct genl_family vlan_mon_nl_family = {
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,2,0)
.policy = vlan_mon_nl_policy,
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,1,0)
+ .resv_start_op = CTRL_CMD_GETPOLICY + 1,
+#endif
};
static struct packet_type vlan_pt __read_mostly = {