summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/lantiq_etop.c
diff options
context:
space:
mode:
authorKevin Wallace <kevin@pentabarf.net>2013-12-03 02:55:22 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-05 19:59:02 -0500
commitd70f2cf520cf8c86c6b467fc5dcea524ec51dc2f (patch)
tree6292f59d2e2c816673cb8af81edb93e049f410ee /drivers/net/ethernet/lantiq_etop.c
parent426e1fa31e0d8e982891e801c80b84b74f209f10 (diff)
macvlan: Support creating macvtaps from macvlans
When running in a network namespace whose only link to the outside world is a macvlan device, not being able to create a macvtap off of it is a real pain. So modify macvtap creation to automatically forward a creation of a macvtap on a macvlan to become a creation of a macvtap on the underlying network device, just like is currently done with macvlan-on-macvlan devices. v2: Use netif_is_macvlan and macvlan_dev_real_dev helpers to make it more clear what we're doing. Signed-off-by: Kevin Wallace <kevin@pentabarf.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/lantiq_etop.c')
0 files changed, 0 insertions, 0 deletions