summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-netem_pareto_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/iproute2/patches/patch-netem_pareto_c')
-rw-r--r--package/iproute2/patches/patch-netem_pareto_c14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/iproute2/patches/patch-netem_pareto_c b/package/iproute2/patches/patch-netem_pareto_c
new file mode 100644
index 000000000..b422a56a0
--- /dev/null
+++ b/package/iproute2/patches/patch-netem_pareto_c
@@ -0,0 +1,14 @@
+--- iproute2-3.12.0.orig/netem/pareto.c 2013-11-23 02:10:33.000000000 +0100
++++ iproute2-3.12.0/netem/pareto.c 2014-02-09 11:46:07.000000000 +0100
+@@ -7,10 +7,8 @@
+ #include <math.h>
+ #include <limits.h>
+
+-#include <linux/types.h>
+-#include <linux/pkt_sched.h>
+-
+ static const double a=3.0;
++#define NETEM_DIST_SCALE 8192
+ #define TABLESIZE 16384
+ #define TABLEFACTOR NETEM_DIST_SCALE
+