diff options
author | Alex Williamson <alex.williamson@hp.com> | 2009-04-04 16:40:19 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-04 16:40:19 -0700 |
commit | 62994b2d6beb5f7c59a25bf77e01f191acf74ea2 (patch) | |
tree | 2d3bb0f95ace854e9c58494c5b7076d7b9b8bd0b /net/socket.c | |
parent | cd36e9efaa5195396ae5344c6ce32c2b0048df6a (diff) | |
download | blackbird-op-linux-62994b2d6beb5f7c59a25bf77e01f191acf74ea2.tar.gz blackbird-op-linux-62994b2d6beb5f7c59a25bf77e01f191acf74ea2.zip |
virtio_net: Set the mac config only when VIRITO_NET_F_MAC
VIRTIO_NET_F_MAC indicates the presence of the mac field in config
space, not the validity of the value it contains. Allow the mac to be
changed at runtime, but only push the change into config space with the
VIRTIO_NET_F_MAC feature present.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions