summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2012-03-26 22:52:00 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-27 22:45:26 -0400
commit09e79d6ea65d66e0a5e9ba76865320e74832dc7c (patch)
tree1ab4db0a522c5df78fff98d55f67cdbe65bce0c5 /include
parent819a100846295461bc0f1bfcb8e5ab11c1bc4cdb (diff)
downloadlinux-stable-09e79d6ea65d66e0a5e9ba76865320e74832dc7c.tar.gz
linux-stable-09e79d6ea65d66e0a5e9ba76865320e74832dc7c.tar.bz2
linux-stable-09e79d6ea65d66e0a5e9ba76865320e74832dc7c.zip
eql: dont rely on HZ=100
HZ is more likely to be 1000 these days. timer handlers are run from softirq, no need to disable bh skb priority 1 is TC_PRIO_FILLER Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/if_eql.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/if_eql.h b/include/linux/if_eql.h
index 79c4f268410d..18a5d02a8644 100644
--- a/include/linux/if_eql.h
+++ b/include/linux/if_eql.h
@@ -22,7 +22,7 @@
#define EQL_DEFAULT_SLAVE_PRIORITY 28800
#define EQL_DEFAULT_MAX_SLAVES 4
#define EQL_DEFAULT_MTU 576
-#define EQL_DEFAULT_RESCHED_IVAL 100
+#define EQL_DEFAULT_RESCHED_IVAL HZ
#define EQL_ENSLAVE (SIOCDEVPRIVATE)
#define EQL_EMANCIPATE (SIOCDEVPRIVATE + 1)