veth: Don't segment multiple tagged packets on veth device
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Fri, 31 Jul 2015 06:03:25 +0000 (15:03 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2015 21:24:50 +0000 (14:24 -0700)
Veth devices don't need to segment multiple tagged packets.

Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c

index c8186ffda1a314f08cb71b6688c5b120e57c1717..343592c4315f6397d6a2414457a7d10b532c0eca 100644 (file)
@@ -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 |    \