summaryrefslogtreecommitdiff
path: root/patches/0044-no_user_ns_in_net/ieee802154.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0044-no_user_ns_in_net/ieee802154.patch')
-rw-r--r--patches/0044-no_user_ns_in_net/ieee802154.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/0044-no_user_ns_in_net/ieee802154.patch b/patches/0044-no_user_ns_in_net/ieee802154.patch
index 79d1c4a4..6c3cd210 100644
--- a/patches/0044-no_user_ns_in_net/ieee802154.patch
+++ b/patches/0044-no_user_ns_in_net/ieee802154.patch
@@ -4,7 +4,7 @@
ro->want_ack = !!val;
break;
case WPAN_SECURITY:
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
++#if LINUX_VERSION_IS_GEQ(3,8,0)
if (!ns_capable(net->user_ns, CAP_NET_ADMIN) &&
!ns_capable(net->user_ns, CAP_NET_RAW)) {
+#else
@@ -18,7 +18,7 @@
}
break;
case WPAN_SECURITY_LEVEL:
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
++#if LINUX_VERSION_IS_GEQ(3,8,0)
if (!ns_capable(net->user_ns, CAP_NET_ADMIN) &&
!ns_capable(net->user_ns, CAP_NET_RAW)) {
+#else