Re: [patch net-next] virtio_net: allow to change mac when iface is running
From: David Miller <davem@davemloft.net>
Date: 2012-06-28 04:30:46
Also in:
virtualization
From: David Miller <davem@davemloft.net>
Date: 2012-06-28 04:30:46
Also in:
virtualization
From: Jiri Pirko <redacted> Date: Wed, 27 Jun 2012 17:27:46 +0200
Signed-off-by: Jiri Pirko <redacted>
Applied, but this seriously makes eth_mac_addr() completely useless. Technically, every eth_mac_addr() user in a software/virtual device should behave the way virtio_net does now. It therefore probably makes sense to add a boolean arg which when true elides the netif_running() check then fixup and audit every caller.