Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757542Ab2BYS0g (ORCPT ); Sat, 25 Feb 2012 13:26:36 -0500 Received: from wp188.webpack.hosteurope.de ([80.237.132.195]:46609 "EHLO wp188.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755525Ab2BYS0f (ORCPT ); Sat, 25 Feb 2012 13:26:35 -0500 From: Danny Kukawka To: David Miller Subject: Re: [PATCH 12/12] rose: check given MAC address, if invalid return -EADDRNOTAVAIL Date: Sat, 25 Feb 2012 19:25:28 +0100 User-Agent: KMail/1.9.10 Cc: alan@lxorguk.ukuu.org.uk, ralf@linux-mips.org, linux-hams@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <1330099282-4588-1-git-send-email-danny.kukawka@bisect.de> <20120224161358.17df7421@pyramind.ukuu.org.uk> <20120224.154335.577711354132386075.davem@davemloft.net> In-Reply-To: <20120224.154335.577711354132386075.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201202251925.30283.danny.kukawka@bisect.de> X-bounce-key: webpack.hosteurope.de;danny.kukawka@bisect.de;1330194394;5cd6ae79; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 987 Lines: 26 On Freitag, 24. Februar 2012, David Miller wrote: > From: Alan Cox > Date: Fri, 24 Feb 2012 16:13:58 +0000 > > > On Fri, 24 Feb 2012 17:01:22 +0100 > > > > Danny Kukawka wrote: > >> Check if given address is valid in .ndo_set_mac_address/ > >> rose_set_mac_address(), if invalid return -EADDRNOTAVAIL as > >> eth_mac_addr() already does if is_valid_ether_addr() fails. > > > > This patch series looks wrong - you cannot go blindly applying ethernet > > mac address tests to device drivers without checking if they are using > > 802.11 type addressing at the physical level. Overseen this aspect ... Sorry. I'll check the patches and send an updated version. Do you mean 802.3 ? Danny -- 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/