Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761518Ab0GTUSY (ORCPT ); Tue, 20 Jul 2010 16:18:24 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:60264 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758636Ab0GTUSX (ORCPT ); Tue, 20 Jul 2010 16:18:23 -0400 Date: Tue, 20 Jul 2010 13:18:39 -0700 (PDT) Message-Id: <20100720.131839.134093789.davem@davemloft.net> To: sassmann@redhat.com Cc: abadea@ixiacom.com, bhutchings@solarflare.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, gospo@redhat.com, gregory.v.rose@intel.com, alexander.h.duyck@intel.com, leedom@chelsio.com, harald@redhat.com Subject: Re: [PATCH net-next] sysfs: add entry to indicate network interfaces with random MAC address From: David Miller In-Reply-To: <4C4593DA.9040207@redhat.com> References: <4C458CB7.3030508@redhat.com> <4C458F50.4070200@ixiacom.com> <4C4593DA.9040207@redhat.com> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 25 From: Stefan Assmann Date: Tue, 20 Jul 2010 14:17:30 +0200 > On 20.07.2010 13:58, Alex Badea wrote: >> Hi, >> >> On 07/20/2010 02:47 PM, Stefan Assmann wrote: >>>> What about devices that 'steal' MAC addresses from slave devices? >> >> Might I suggest an attribute such as "address_type", which could report >> "permanent", "random", "stolen", or something else in the future? > > In case there's demand for such a multi-purpose attribute I see no > reason to object. More thoughts on this? I think this is a great idea. Now it makes sense to use a new 'u8' in struct netdevice or similar to store this, since we'll have more than a boolean here. -- 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/