[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120628.013024.1284454300191873475.davem@davemloft.net>
Date: Thu, 28 Jun 2012 01:30:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jpirko@...hat.com
Cc: netdev@...r.kernel.org, rusty@...tcorp.com.au, mst@...hat.com,
virtualization@...ts.linux-foundation.org, brouer@...hat.com
Subject: Re: [patch net-next] virtio_net: allow to change mac when iface is
running
From: Jiri Pirko <jpirko@...hat.com>
Date: Thu, 28 Jun 2012 08:35:25 +0200
> Thu, Jun 28, 2012 at 06:30:46AM CEST, davem@...emloft.net wrote:
>>It therefore probably makes sense to add a boolean arg which when true
>>elides the netif_running() check then fixup and audit every caller.
>
> I was thinking about this. Maybe probably __eth_mac_addr() which does
> not have netif_running() check and eth_mac_addr() calling
> netif_running() check and __eth_mac_addr() after that.
>
> What do you think?
Yes, sounds good.
--
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