[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100126233928.503055595@mini.kroah.org>
Date: Tue, 26 Jan 2010 15:34:24 -0800
From: Greg KH <gregkh@...e.de>
To: linux-kernel@...r.kernel.org, stable@...nel.org
Cc: stable-review@...nel.org, torvalds@...ux-foundation.org,
akpm@...ux-foundation.org, alan@...rguk.ukuu.org.uk,
Ron Mercer <ron.mercer@...gic.com>,
"David S. Miller" <davem@...emloft.net>,
Brandon Philips <bphilips@...e.de>
Subject: [58/98] qlge: Bonding fix for mode 6.
2.6.32-stable review patch. If anyone has any objections, please let us know.
------------------
From: Ron Mercer <ron.mercer@...gic.com>
commit 63ae93a19094d88c8ca62543586b20e3a7ff7637 upstream.
Allow MAC address to be changed even if device is not up.
Signed-off-by: Ron Mercer <ron.mercer@...gic.com>
Signed-off-by: David S. Miller <davem@...emloft.net>
Signed-off-by: Brandon Philips <bphilips@...e.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists