[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120224.154335.577711354132386075.davem@davemloft.net>
Date: Fri, 24 Feb 2012 15:43:35 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: alan@...rguk.ukuu.org.uk
Cc: danny.kukawka@...ect.de, ralf@...ux-mips.org, dkukawka@...e.de,
linux-hams@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 12/12] rose: check given MAC address, if invalid return
-EADDRNOTAVAIL
From: Alan Cox <alan@...rguk.ukuu.org.uk>
Date: Fri, 24 Feb 2012 16:13:58 +0000
> On Fri, 24 Feb 2012 17:01:22 +0100
> Danny Kukawka <danny.kukawka@...ect.de> 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.
Right.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists