summaryrefslogtreecommitdiff
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2015-07-31 09:03:27 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-04 00:24:50 +0300
commit5e52796a9a3d56298273030cd438e8015a8d5683 (patch)
treebfe9af6d3a54042fd56324e88a042f23ec881ca3 /drivers/net/tun.c
parent6678053092e808485f4d56dca8705098436495e9 (diff)
downloadlinux-5e52796a9a3d56298273030cd438e8015a8d5683.tar.xz
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 <makita.toshiaki@lab.ntt.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r--drivers/net/tun.c1
1 files changed, 1 insertions, 0 deletions
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)