this is a small patch for a Bug which prevented us from booting a recent
Developer Kernel (including 2.2-pre1) via Netboot and Boot-Eprom.
We don't use rarp or bootp whitin the Kernel. This part is managed by the
neboot-Loader.
All this worked fine using the 2.0 Kernel Series and works again whit our
small patch applied.
Anyway I don't realy understand the whole code inside ipconfig.c so probably
somebody with a further knowledge should review this.
The patch has been sent to Martin Mares, the Author of this
particular Code a few weeks ago. But there has been no Responce, that's why
I repost this to the Kernel List today.
I hope that this or a simular fix will make it into 2.2
Regards
Sven
--cut--
diff -r /tmp/linux-orig/net/ipv4/ipconfig.c /tmp/linux/net/ipv4/ipconfig.c
1032a1033,1038
> * Use defaults whereever applicable.
> */
> if (ic_defaults() < 0)
> return -1;
>
> /*
1057,1062d1062
<
< /*
< * Use defaults whereever applicable.
< */
< if (ic_defaults() < 0)
< return -1;
--cut--
-- "Thinking of using NT for your critical apps? Isn't there enough suffering in the world?" (Advertisement of Sun Microsystems in Wall Street Journal) /me is giggls@IRC, http://www.geggus.net/sven/ on the Web- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/