projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2948d2e
)
[TOKENRING]: rif_timer not initialized properly
author
Eric Dumazet
<dada1@cosmosbay.com>
Mon, 14 Jan 2008 06:32:49 +0000
(22:32 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 14 Jan 2008 06:32:49 +0000
(22:32 -0800)
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/802/tr.c
patch
|
blob
|
history
diff --git
a/net/802/tr.c
b/net/802/tr.c
index
a2bd0f2
..
1e115e5
100644
(file)
--- a/
net/802/tr.c
+++ b/
net/802/tr.c
@@
-642,7
+642,7
@@
struct net_device *alloc_trdev(int sizeof_priv)
static int __init rif_init(void)
{
init_timer(&rif_timer);
- rif_timer.expires = sysctl_tr_rif_timeout;
+ rif_timer.expires =
jiffies +
sysctl_tr_rif_timeout;
rif_timer.data = 0L;
rif_timer.function = rif_check_expire;
add_timer(&rif_timer);