)]}'
{
  "commit": "dcbdc93c6c64daf20622d6deae774d1e740efb8d",
  "tree": "e4f5282bca6cbd8f20272892d7ee72f8f711a7fe",
  "parents": [
    "8aee929eda10b2502fd76c0bf2003f89f7992820"
  ],
  "author": {
    "name": "Joakim Tjernlund",
    "email": "joakim.tjernlund@transmode.se",
    "time": "Fri Aug 10 15:14:54 2007 -0700"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@sunset.davemloft.net",
    "time": "Mon Aug 13 22:51:59 2007 -0700"
  },
  "message": "[IPCONFIG]: ip_auto_config fix\n\nThe following commandline:\n\n root\u003d/dev/mtdblock6 rw rootfstype\u003djffs2 ip\u003d192.168.1.10:::255.255.255.0:localhost.localdomain:eth1:off console\u003dttyS0,115200\n\nmakes ip_auto_config fall back to DHCP and complain \"IP-Config: Incomplete\nnetwork configuration information.\" depending on if CONFIG_IP_PNP_DHCP is\nset or not.\n\nThe only way I can make ip_auto_config accept my IP config is to add an\nentry for the server IP:\n\nip\u003d192.168.1.10:192.168.1.15::255.255.255.0:localhost.localdomain:eth1:off\n\nI think this is a bug since I am not using a NFS root FS.\n\nThe following patch fixes the above problem.\n\nFrom: Andrew Morton \u003cakpm@linux-foundation.org\u003e\n\nDavem said (in February!):\n\n  Well, first of all the change in question is not in 2.4.x either.  I just\n  checked the current 2.4.x GIT tree and the test is exactly:\n\n\tif (ic_myaddr \u003d\u003d INADDR_NONE ||\n#ifdef CONFIG_ROOT_NFS\n\t    (MAJOR(ROOT_DEV) \u003d\u003d UNNAMED_MAJOR\n\t     \u0026\u0026 root_server_addr \u003d\u003d INADDR_NONE\n\t     \u0026\u0026 ic_servaddr \u003d\u003d INADDR_NONE) ||\n#endif\n\t    ic_first_dev-\u003enext) {\n\n  which matches 2.6.x\n\n  I even checked 2.4.x when it was branched for 2.5.x and the test was the\n  same at the point in time too.\n\n  Looking at the proposed change a bit it appears that it is probably\n  correct, as it\u0027s trying to check that ROOT_DEV is nfs root.  But if it is\n  correct then the UNNAMED_MAJOR comparison in the same code block should be\n  removed as it becomes superfluous.\n\n  I\u0027m happy to apply this patch with that modification made.\n\nSigned-off-by: Joakim Tjernlund \u003cjoakim.tjernlund@transmode.se\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "342ca8d89458a7b9aa9edc6124533b0a9a6cd4de",
      "old_mode": 33188,
      "old_path": "net/ipv4/ipconfig.c",
      "new_id": "c5b24707753997db84ddcd310ae876f94d8243eb",
      "new_mode": 33188,
      "new_path": "net/ipv4/ipconfig.c"
    }
  ]
}
