]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV4] ipconfig: Fix regression in ip command line processing
authorAmos Waterland <apw@us.ibm.com>
Sun, 6 Jan 2008 07:23:06 +0000 (23:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jan 2008 07:29:58 +0000 (23:29 -0800)
commit63c8951b3c71a2fb33131433a068acf0173f2916
tree248504c621af6bb50c9a399b9540c2e6500a1e30
parenta49cae93f787b6f46eab045e13c2cc34e231a59e
[IPV4] ipconfig: Fix regression in ip command line processing

The recent changes for ip command line processing fixed some problems
but unfortunately broke some common usage scenarios.  In current
2.6.24-rc6 the following command line results in no IP address
assignment, which is surely a regression:

 ip=10.0.2.15::10.0.2.2:255.255.255.0::eth0:off

Please find below a patch that works for all cases I can find.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/nfsroot.txt
net/ipv4/ipconfig.c