patch-1.3.14 linux/net/appletalk/aarp.c
Next file: linux/net/appletalk/ddp.c
Previous file: linux/net/802/tr.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Mon Jul 31 09:46:26 1995
- Orig file:
v1.3.13/linux/net/appletalk/aarp.c
- Orig date:
Tue Jul 18 16:28:59 1995
diff -u --recursive --new-file v1.3.13/linux/net/appletalk/aarp.c linux/net/appletalk/aarp.c
@@ -362,9 +362,9 @@
}
del_timer(&aarp_timer);
if(unresolved_count==0)
- aarp_timer.expires=AARP_EXPIRY_TIME;
+ aarp_timer.expires=jiffies+AARP_EXPIRY_TIME;
else
- aarp_timer.expires=AARP_TICK_TIME;
+ aarp_timer.expires=jiffies+AARP_TICK_TIME;
add_timer(&aarp_timer);
}
@@ -523,7 +523,7 @@
if(unresolved_count==1)
{
del_timer(&aarp_timer);
- aarp_timer.expires=AARP_TICK_TIME;
+ aarp_timer.expires=jiffies+AARP_TICK_TIME;
add_timer(&aarp_timer);
}
/*
@@ -667,7 +667,7 @@
if(unresolved_count==0)
{
del_timer(&aarp_timer);
- aarp_timer.expires=AARP_EXPIRY_TIME;
+ aarp_timer.expires=jiffies+AARP_EXPIRY_TIME;
add_timer(&aarp_timer);
}
break;
@@ -718,7 +718,7 @@
init_timer(&aarp_timer);
aarp_timer.function=aarp_expire_timeout;
aarp_timer.data=0;
- aarp_timer.expires=AARP_EXPIRY_TIME;
+ aarp_timer.expires=jiffies+AARP_EXPIRY_TIME;
add_timer(&aarp_timer);
register_netdevice_notifier(&aarp_notifier);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this