From: Kevin Wallace Date: Tue, 3 Dec 2013 10:55:22 +0000 (-0800) Subject: macvlan: Support creating macvtaps from macvlans X-Git-Tag: v3.14-rc1~94^2~621 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d70f2cf520cf8c86c6b467fc5dcea524ec51dc2f;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed