summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-netem_paretonormal_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-11 07:44:41 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-11 07:44:41 +0100
commitdd8c258716dd3fddd4501cd644cbd65e83e9a1bc (patch)
treed88ea4ed00b911c177b8211b2221bf32f272e09d /package/iproute2/patches/patch-netem_paretonormal_c
parentfed3a4e88610344f64cb8e2a0ea9bc85e080cac7 (diff)
parentf3c6465f816ea646d546a0320e91d7e024866ee9 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/iproute2/patches/patch-netem_paretonormal_c')
-rw-r--r--package/iproute2/patches/patch-netem_paretonormal_c15
1 files changed, 10 insertions, 5 deletions
diff --git a/package/iproute2/patches/patch-netem_paretonormal_c b/package/iproute2/patches/patch-netem_paretonormal_c
index d2c2ac4b6..5ff674e5a 100644
--- a/package/iproute2/patches/patch-netem_paretonormal_c
+++ b/package/iproute2/patches/patch-netem_paretonormal_c
@@ -1,6 +1,6 @@
---- iproute2-2.6.29-1.orig/netem/paretonormal.c 2009-03-24 23:40:54.000000000 +0100
-+++ iproute2-2.6.29-1/netem/paretonormal.c 2009-12-11 16:59:02.000000000 +0100
-@@ -11,11 +11,9 @@
+--- iproute2-3.12.0.orig/netem/paretonormal.c 2013-11-23 02:10:33.000000000 +0100
++++ iproute2-3.12.0/netem/paretonormal.c 2014-02-09 12:22:09.000000000 +0100
+@@ -11,15 +11,11 @@
*/
#include <stdio.h>
#include <stdlib.h>
@@ -9,6 +9,11 @@
#include <math.h>
#include <limits.h>
-#include <malloc.h>
+-
+-#include <linux/types.h>
+-#include <linux/pkt_sched.h>
+
++#define NETEM_DIST_SCALE 8192
+ #define TABLESIZE 16384
+ #define TABLEFACTOR NETEM_DIST_SCALE
- #include <linux/types.h>
- #include <linux/pkt_sched.h>