From: Toshiaki Makita Date: Fri, 31 Jul 2015 06:03:25 +0000 (+0900) Subject: veth: Don't segment multiple tagged packets on veth device X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1a04a82156ec31542b956548f9549339de8511d4;p=openwrt%2Fstaging%2Fblogic.git veth: Don't segment multiple tagged packets on veth device Veth devices don't need to segment multiple tagged packets. Signed-off-by: Toshiaki Makita Signed-off-by: David S. Miller --- diff --git a/drivers/net/veth.c b/drivers/net/veth.c index c8186ffda1a3..343592c4315f 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c @@ -290,6 +290,7 @@ static const struct net_device_ops veth_netdev_ops = { .ndo_poll_controller = veth_poll_controller, #endif .ndo_get_iflink = veth_get_iflink, + .ndo_features_check = passthru_features_check, }; #define VETH_FEATURES (NETIF_F_SG | NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \