Skip to contentSkip to conversation

2.4.6 ipconfig for NFS root

PATCH New Wakko Warner 1 participant 1 message Aug 10, 2001

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.6 ipconfig for NFS root

I tried this on 2.4.6, 2.4.7 and 2.2.19. No problems that I could see.

Comments?

net/ipv4/ipconfig.c renamed from 2.4.6-orig/net/ipv4/ipconfig.c +5 -1
@@ -1093,7 +1093,11 @@
 	proc_net_create("pnp", 0, pnp_get_info);
 #endif /* CONFIG_PROC_FS */
 
-	if (!ic_enable)
+	if (!ic_enable
+#if defined(IPCONFIG_DYNAMIC) && defined(CONFIG_ROOT_NFS)
+	    && ROOT_DEV != MKDEV(UNNAMED_MAJOR, 255)
+#endif
+	   )
 		return 0;
 
 	DBG(("IP-Config: Entered.\n"));
Signature · 1 line
 Lab tests show that use of micro$oft causes cancer in lab animals