summaryrefslogtreecommitdiff
path: root/package/network/utils/xtables-addons/patches/004-fix-kernel-3.14.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-08-21 19:12:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-08-21 19:12:34 +0000
commit53d1cb94094cbb4128c91a4d992a8cdeb72f483c (patch)
treeef6c3ac3f79f2207f720c87ee55bf4c8f5b63c68 /package/network/utils/xtables-addons/patches/004-fix-kernel-3.14.patch
parentbb6905bd23f945651ddbc0bd18d58dc163d37726 (diff)
downloadmtk-20170518-53d1cb94094cbb4128c91a4d992a8cdeb72f483c.zip
mtk-20170518-53d1cb94094cbb4128c91a4d992a8cdeb72f483c.tar.gz
mtk-20170518-53d1cb94094cbb4128c91a4d992a8cdeb72f483c.tar.bz2
xtables-addons: update to version 2.5
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42256
Diffstat (limited to 'package/network/utils/xtables-addons/patches/004-fix-kernel-3.14.patch')
-rw-r--r--package/network/utils/xtables-addons/patches/004-fix-kernel-3.14.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/package/network/utils/xtables-addons/patches/004-fix-kernel-3.14.patch b/package/network/utils/xtables-addons/patches/004-fix-kernel-3.14.patch
deleted file mode 100644
index c866aef..0000000
--- a/package/network/utils/xtables-addons/patches/004-fix-kernel-3.14.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/extensions/compat_xtables.h
-+++ b/extensions/compat_xtables.h
-@@ -89,4 +89,11 @@ static inline void proc_net_remove(struc
- }
- #endif
-
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)
-+static inline u32 net_random(void)
-+{
-+ return prandom_u32();
-+}
-+#endif
-+
- #endif /* _XTABLES_COMPAT_H */