From: Toshiaki Makita Date: Fri, 31 Jul 2015 06:03:27 +0000 (+0900) Subject: tuntap: Don't segment multiple tagged packets on tap device X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5e52796a9a3d56298273030cd438e8015a8d5683;p=linux-beck.git tuntap: Don't segment multiple tagged packets on tap device Tap 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/tun.c b/drivers/net/tun.c index 06a039414628..976aa9704297 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -961,6 +961,7 @@ static const struct net_device_ops tap_netdev_ops = { #ifdef CONFIG_NET_POLL_CONTROLLER .ndo_poll_controller = tun_poll_controller, #endif + .ndo_features_check = passthru_features_check, }; static void tun_flow_init(struct tun_struct *tun)