summaryrefslogtreecommitdiffstats
path: root/drivers/net/macvlan.c
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2015-07-31 15:03:24 +0900
committerDavid S. Miller <davem@davemloft.net>2015-08-03 14:24:49 -0700
commitf56e67b5154561dea2bac649085ee1fcb51006f8 (patch)
tree63e79658f35490c919542eaa835c81875a488d44 /drivers/net/macvlan.c
parent0fbd050a7d262b74527a289ae75a33626d1060a8 (diff)
downloadlinux-stable-f56e67b5154561dea2bac649085ee1fcb51006f8.tar.gz
linux-stable-f56e67b5154561dea2bac649085ee1fcb51006f8.tar.bz2
linux-stable-f56e67b5154561dea2bac649085ee1fcb51006f8.zip
macvlan: Don't segment multiple tagged packets on macvlan device
Macvlan/macvtap devices don't need to segment multiple tagged packets since the lower devices can segment them. Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macvlan.c')
-rw-r--r--drivers/net/macvlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c
index 9f59f17dc317..47da43595ac2 100644
--- a/drivers/net/macvlan.c
+++ b/drivers/net/macvlan.c
@@ -1047,6 +1047,7 @@ static const struct net_device_ops macvlan_netdev_ops = {
.ndo_netpoll_cleanup = macvlan_dev_netpoll_cleanup,
#endif
.ndo_get_iflink = macvlan_dev_get_iflink,
+ .ndo_features_check = passthru_features_check,
};
void macvlan_common_setup(struct net_device *dev)