Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932229AbWCVRjp (ORCPT ); Wed, 22 Mar 2006 12:39:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932217AbWCVRjo (ORCPT ); Wed, 22 Mar 2006 12:39:44 -0500 Received: from mtagate2.de.ibm.com ([195.212.29.151]:29735 "EHLO mtagate2.de.ibm.com") by vger.kernel.org with ESMTP id S932216AbWCVRjl (ORCPT ); Wed, 22 Mar 2006 12:39:41 -0500 Date: Wed, 22 Mar 2006 16:03:44 +0100 From: Frank Pavlic To: Jeff Garzik Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [patch 4/6] s390: qeth :allow setting of attribute "route6" to "no_router". Message-ID: <20060322160344.230cf981@localhost.localdomain> Organization: IBM X-Mailer: Sylpheed-Claws 1.0.5 (GTK+ 1.2.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1452 Lines: 37 [patch 4/6] s390: qeth :allow setting of attribute "route6" to "no_router". From: Ursula Braun when setting route6 attribute back to no_router qeth does not issue an IP ASSIST command to reset router value to no_router. Once primary_router is set device stays in this mode. Issue an IP ASSIST command when no_router is set in route6. Device will be reset and thus will not longer run as a primary router. Signed-off-by: Frank Pavlic diffstat: qeth_main.c | 5 ----- 1 files changed, 5 deletions(-) diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c index 69329ea..021cd5d 100644 --- a/drivers/s390/net/qeth_main.c +++ b/drivers/s390/net/qeth_main.c @@ -7339,11 +7339,6 @@ qeth_setrouting_v6(struct qeth_card *car qeth_correct_routing_type(card, &card->options.route6.type, QETH_PROT_IPV6); - if ((card->options.route6.type == NO_ROUTER) || - ((card->info.type == QETH_CARD_TYPE_OSAE) && - (card->options.route6.type == MULTICAST_ROUTER) && - !qeth_is_supported6(card,IPA_OSA_MC_ROUTER))) - return 0; rc = qeth_send_setrouting(card, card->options.route6.type, QETH_PROT_IPV6); if (rc) { - 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/