Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42256master
parent
bb6905bd23
commit
53d1cb9409
@ -1,16 +0,0 @@ |
||||
---
|
||||
Makefile.in | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -11,9 +11,6 @@ FORCE:
|
||||
xtables-addons.8: FORCE
|
||||
${MAKE} -f Makefile.mans all;
|
||||
|
||||
-install-exec-hook:
|
||||
- depmod -a || :;
|
||||
-
|
||||
clean-local-mans:
|
||||
${MAKE} -f Makefile.mans clean;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,14 +0,0 @@ |
||||
--- a/extensions/compat_xtables.h
|
||||
+++ b/extensions/compat_xtables.h
|
||||
@@ -82,4 +82,11 @@ static inline void proc_remove(struct pr
|
||||
}
|
||||
#endif
|
||||
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)
|
||||
+static inline void proc_net_remove(struct net *net, const char *name)
|
||||
+{
|
||||
+ remove_proc_entry(name, net->proc_net);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
#endif /* _XTABLES_COMPAT_H */
|
@ -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 */
|
Loading…
Reference in new issue