mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
Currently we write MAC address to pci config space byte by byte, this means that we have an intermediate step where mac is wrong. This patch introduced a new control command to set MAC address, it's atomic. VIRTIO_NET_F_CTRL_MAC_ADDR is a new feature bit for compatibility. Signed-off-by: Amos Kong <[email protected]> Signed-off-by: David S. Miller <[email protected]>