[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Quick fix
Hi,
I just noticed this one in 2.3.43.... the incorrect initialisation order
triggered the spinlock debug code sending my test machine into a tail
spin :-) The patch below fixes it.
I'm not going to put it on the ftp site since its so short.
Steve.
-----------------------------------------------------------------------------
--- linux-2.3.43/net/decnet/af_decnet.c Tue Jan 11 10:45:01 2000
+++ linux/net/decnet/af_decnet.c Fri Feb 11 15:53:11 2000
@@ -2080,8 +2080,8 @@
#ifdef CONFIG_DECNET_RAW
proc_net_create("decnet_raw", 0, dn_raw_get_info);
#endif
- dn_dev_init();
dn_neigh_init();
+ dn_dev_init();
dn_route_init();
#ifdef CONFIG_DECNET_ROUTER
@@ -2149,8 +2149,8 @@
unregister_netdevice_notifier(&dn_dev_notifier);
dn_route_cleanup();
- dn_neigh_cleanup();
dn_dev_cleanup();
+ dn_neigh_cleanup();
#ifdef CONFIG_DECNET_ROUTER
dn_fib_cleanup();
-----------------------------------------------------------------------------
To unsubscribe from this list, send a mail to majordomo@dreamtime.org
containing the line "unsubscribe linux-decnet"
-----------------------------------------------------------------------------