summaryrefslogtreecommitdiff
path: root/patches/0074-netdevice-mtu-range-ifdefs.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0074-netdevice-mtu-range-ifdefs.cocci')
-rw-r--r--patches/0074-netdevice-mtu-range-ifdefs.cocci4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/0074-netdevice-mtu-range-ifdefs.cocci b/patches/0074-netdevice-mtu-range-ifdefs.cocci
index ffa7082b..5689f438 100644
--- a/patches/0074-netdevice-mtu-range-ifdefs.cocci
+++ b/patches/0074-netdevice-mtu-range-ifdefs.cocci
@@ -5,7 +5,7 @@ identifier func;
@@
func(...) {
<+...
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)
++#if LINUX_VERSION_IS_GEQ(4,10,0)
ndevexp->min_mtu = E;
+#endif
...+>
@@ -18,7 +18,7 @@ identifier func;
@@
func(...) {
<+...
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)
++#if LINUX_VERSION_IS_GEQ(4,10,0)
ndevexp->max_mtu = E;
+#endif
...+>