Skip to contentSkip to conversation

Fix broken ip= parsing

PATCH In review Thomas Bogendoerfer 3 participants 3 messages Dec 29, 2007 – Dec 30, 2007

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

PATCH 1/1 Fix broken ip= parsing

Commit a6c05c3d064dbb83be88cba3189beb5db9d2dfc3 breaks ip= parsing completly, because ic_enable is never set. The patch below puts back the way ic_enable was set before.

---

 net/ipv4/ipconfig.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
net/ipv4/ipconfig.c +1 -0
index 420f56a..4266528 100644
@@ -1440,6 +1440,7 @@ static int __init ip_auto_config_setup(char *addrs)
 	int num = 0;
 
 	ic_set_manually = 1;
+	ic_enable = *addrs;
 
 	if (ic_proto_name(addrs))
 		return 1;
#1 lore raw
Quoted 7 lines · Thomas Bogendoerfer

Commit a6c05c3d064dbb83be88cba3189beb5db9d2dfc3 breaks ip= parsing completly, because ic_enable is never set. The patch below puts back the way ic_enable was set before.

---

This patch certainly fixes the problem I was having with NFS root - I had a working setup that stopped (though at the same time as I updated my Busybox setup so I thought this was my mistake).

Please apply.

Tested by: Adrian McMenamin <[email protected]>