]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
tuntap: Don't segment multiple tagged packets on tap device
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Fri, 31 Jul 2015 06:03:27 +0000 (15:03 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2015 21:24:50 +0000 (14:24 -0700)
Tap 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/tun.c

index 06a039414628de9a9d91c73e9f8790c23fce71a3..976aa97042972880679ae61fa6fa9f90f12b51b1 100644 (file)
@@ -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)