patch-2.3.43 linux/net/decnet/dn_dev.c
Next file: linux/net/decnet/dn_nsp_in.c
Previous file: linux/net/decnet/TODO
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Feb 9 20:08:09 2000
- Orig file:
v2.3.42/linux/net/decnet/dn_dev.c
- Orig date:
Tue Jan 11 22:31:46 2000
diff -u --recursive --new-file v2.3.42/linux/net/decnet/dn_dev.c linux/net/decnet/dn_dev.c
@@ -911,6 +911,7 @@
}
dn_dev_set_timer(dev);
+ timer_exit(&dn_db->timer);
}
static void dn_dev_set_timer(struct net_device *dev)
@@ -1010,8 +1011,7 @@
if (dn_db == NULL)
return;
- del_timer(&dn_db->timer);
- synchronize_bh();
+ del_timer_sync(&dn_db->timer);
dn_dev_sysctl_unregister(&dn_db->parms);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)