Skip to contentSkip to conversation

Linux commit a6c05c3d changes IP autoconfig behaviour

U-Boot-Users Wolfgang Denk 3 participants 3 messages Jan 7, 2008

lore
Share & tools
lore
#0 lore raw

Dear Ben,

git commit a6c05c3d in the Linux kernel tree changes behaviour of the IP autoconfiguration in Linux:

commit a6c05c3d064dbb83be88cba3189beb5db9d2dfc3

Author: Simon Horman <[email protected]>
Date:   Tue Dec 25 20:54:42 2007 -0800

[IPV4]: Fix ip command line processing.

Recently the documentation in Documentation/nfsroot.txt was update to note that in fact ip=off and ip=::::::off as the latter is ignored and the default (on) is used.

This was certainly a step in the direction of reducing confusion. But it seems to me that the code ought to be fixed up so that ip=::::::off actually turns off ip autoconfiguration.

This patch also notes more specifically that ip=on (aka ip=::::::on) is the default.

It seems we have to change all "ip=...off" strings in U-Boot to "ip=...on", as it was attempted in this patch (sorry, it's *big*):

ftp://ftp.denx.de/pub/tmp/Adapt_to_new_IP_autoconfig_policy_in_Linux.patch

However, I'm not sure if this is the right approach (and what it actually means in terms of backward compatibility).

What do you think?

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When the ax entered the forest, the trees said, "The handle is one of
us!"                                               -- Turkish proverb
#1 lore raw
Quoted 4 lines · Wolfgang Denk

Dear Ben,

git commit a6c05c3d in the Linux kernel tree changes behaviour of the IP autoconfiguration in Linux:

A patch was already posted to fix the regression so maybe you don't need to do anything.
http://permalink.gmane.org/gmane.linux.network/82469

Signature · 3 lines
Ville Syrj?l?
syrjala at sci.fi
http://www.sci.fi/~syrjala/
#2 lore raw
Quoted 4 lines · Ville Syrj?l?
Quoted 2 lines · Wolfgang Denk

Dear Ben,

Quoted 8 lines
Quoted 3 lines

git commit a6c05c3d in the Linux kernel tree changes behaviour of the IP autoconfiguration in Linux:

A patch was already posted to fix the regression so maybe you don't need to do anything.
http://permalink.gmane.org/gmane.linux.network/82469

Phew, that's a relief. If this regression fix goes in (and it looks like it will), Wolfgang's patch shouldn't be needed.

regards,
Ben