patch-2.3.44 linux/net/decnet/af_decnet.c

Next file: linux/net/ipv4/tcp_ipv4.c
Previous file: linux/net/core/skbuff.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.43/linux/net/decnet/af_decnet.c linux/net/decnet/af_decnet.c
@@ -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();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)