From: Toshiaki Makita Date: Fri, 31 Jul 2015 06:03:24 +0000 (+0900) Subject: macvlan: Don't segment multiple tagged packets on macvlan device X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f56e67b5154561dea2bac649085ee1fcb51006f8;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 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)