Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755453AbXL2RJX (ORCPT ); Sat, 29 Dec 2007 12:09:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754292AbXL2RJN (ORCPT ); Sat, 29 Dec 2007 12:09:13 -0500 Received: from elvis.franken.de ([193.175.24.41]:47497 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753042AbXL2RJM (ORCPT ); Sat, 29 Dec 2007 12:09:12 -0500 From: Thomas Bogendoerfer To: linux-kernel@vger.kernel.org, netdev@vger.kernel.org cc: horms@verge.net.au, davem@davemloft.net Subject: [PATCH] Fix broken ip= parsing Message-Id: <20071229170849.C2E68C2EEE@solo.franken.de> Date: Sat, 29 Dec 2007 18:08:49 +0100 (CET) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 881 Lines: 27 Commit a6c05c3d064dbb83be88cba3189beb5db9d2dfc3 breaks ip= parsing completly, because ic_enable is never set. The patch below puts back the way ic_enable was set before. Signed-off-by: Thomas Bogendoerfer --- net/ipv4/ipconfig.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 420f56a..4266528 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c @@ -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; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/