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

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)