summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2015-07-31 06:03:25 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-08-03 21:24:50 (GMT)
commit1a04a82156ec31542b956548f9549339de8511d4 (patch)
tree6613b3696f6639cf18a8a8c8088f5b049d925069
parentf56e67b5154561dea2bac649085ee1fcb51006f8 (diff)
downloadlinux-1a04a82156ec31542b956548f9549339de8511d4.tar.xz
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 <makita.toshiaki@lab.ntt.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/veth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index c8186ff..343592c 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 | \