diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-01-14 01:32:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-14 01:32:49 -0500 |
commit | 1b310fca30ac9851f79337ca72b1cf6a0f58064a (patch) | |
tree | 0ada9fbebbca87c5ddb0c836fedce288f1acea2f | |
parent | 2948d2ebbb98747b912ac6d0c864b4d02be8a6f5 (diff) |
[TOKENRING]: rif_timer not initialized properly
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/802/tr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/802/tr.c b/net/802/tr.c index a2bd0f2e3af8..1e115e5beab6 100644 --- a/net/802/tr.c +++ b/net/802/tr.c | |||
@@ -642,7 +642,7 @@ struct net_device *alloc_trdev(int sizeof_priv) | |||
642 | static int __init rif_init(void) | 642 | static int __init rif_init(void) |
643 | { | 643 | { |
644 | init_timer(&rif_timer); | 644 | init_timer(&rif_timer); |
645 | rif_timer.expires = sysctl_tr_rif_timeout; | 645 | rif_timer.expires = jiffies + sysctl_tr_rif_timeout; |
646 | rif_timer.data = 0L; | 646 | rif_timer.data = 0L; |
647 | rif_timer.function = rif_check_expire; | 647 | rif_timer.function = rif_check_expire; |
648 | add_timer(&rif_timer); | 648 | add_timer(&rif_timer); |