summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2015-07-31 08:03:24 +0200
committerDavid S. Miller <davem@davemloft.net>2015-08-03 23:24:49 +0200
commitf56e67b5154561dea2bac649085ee1fcb51006f8 (patch)
tree63e79658f35490c919542eaa835c81875a488d44 /drivers
parentvirtio_net: add gro capability (diff)
downloadlinux-f56e67b5154561dea2bac649085ee1fcb51006f8.tar.xz
linux-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')
-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)