diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-03-27 00:52:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-28 04:45:26 +0200 |
commit | 09e79d6ea65d66e0a5e9ba76865320e74832dc7c (patch) | |
tree | 1ab4db0a522c5df78fff98d55f67cdbe65bce0c5 /include | |
parent | mISDN: array underflow in open_bchannel() (diff) | |
download | linux-09e79d6ea65d66e0a5e9ba76865320e74832dc7c.tar.xz linux-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.h | 2 |
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) |