summaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
diff options
context:
space:
mode:
authorDavid S. Miller2013-09-04 02:57:57 +0200
committerDavid S. Miller2013-09-04 02:57:57 +0200
commit61c8106e296cbb51eec11f5cb0ffd6ac30672f55 (patch)
tree758a813e35f67ff4007a1f38bb12923315d7f1cf /drivers/net/virtio_net.c
parentnet: make snmp_mib_free static inline (diff)
parentstaging: vt6655: inherit addr_assign_type along with dev_addr (diff)
downloadkernel-qcow2-linux-61c8106e296cbb51eec11f5cb0ffd6ac30672f55.tar.gz
kernel-qcow2-linux-61c8106e296cbb51eec11f5cb0ffd6ac30672f55.tar.xz
kernel-qcow2-linux-61c8106e296cbb51eec11f5cb0ffd6ac30672f55.zip
Merge branch 'addr_assign_type'
Bjørn Mork says: ==================== net: set addr_assign_type when inheriting a dev_addr Copying the dev_addr from a parent device is an operation common to a number of drivers. The addr_assign_type should be updated accordingly, either by reusing the value from the source device or explicitly indicating that the address is stolen by setting addr_assign_type to NET_ADDR_STOLEN. This patch set adds a helper copying both the dev_addr and the addr_assign_type, and use this helper in drivers which don't currently set the addr_assign_type. Using NET_ADDR_STOLEN might be more appropriate in some of these cases. Please let me know, and I'll update the patch accordingly. Changes in v2: - assuming addr_len == ETH_ALEN to allow optimized memcpy - dropped the vt6656 patch due to addr_len being unset in that driver ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions