Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755432Ab0AZXx4 (ORCPT ); Tue, 26 Jan 2010 18:53:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755282Ab0AZXxj (ORCPT ); Tue, 26 Jan 2010 18:53:39 -0500 Received: from kroah.org ([198.145.64.141]:35376 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754680Ab0AZXnv (ORCPT ); Tue, 26 Jan 2010 18:43:51 -0500 X-Mailbox-Line: From gregkh@mini.kroah.org Tue Jan 26 15:39:28 2010 Message-Id: <20100126233928.503055595@mini.kroah.org> User-Agent: quilt/0.48-1 Date: Tue, 26 Jan 2010 15:34:24 -0800 From: Greg KH To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: stable-review@kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Ron Mercer , "David S. Miller" , Brandon Philips Subject: [58/98] qlge: Bonding fix for mode 6. In-Reply-To: <20100126233950.GA5372@kroah.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1141 Lines: 38 2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Ron Mercer commit 63ae93a19094d88c8ca62543586b20e3a7ff7637 upstream. Allow MAC address to be changed even if device is not up. Signed-off-by: Ron Mercer Signed-off-by: David S. Miller Signed-off-by: Brandon Philips Signed-off-by: Greg Kroah-Hartman --- drivers/net/qlge/qlge_main.c | 3 --- 1 file changed, 3 deletions(-) --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c @@ -3712,9 +3712,6 @@ static int qlge_set_mac_address(struct n struct sockaddr *addr = p; int status; - if (netif_running(ndev)) - return -EBUSY; - if (!is_valid_ether_addr(addr->sa_data)) return -EADDRNOTAVAIL; memcpy(ndev->dev_addr, addr->sa_data, ndev->addr_len); -- 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/