diff options
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | 2015-07-31 15:03:27 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-03 14:24:50 -0700 |
commit | 5e52796a9a3d56298273030cd438e8015a8d5683 (patch) | |
tree | bfe9af6d3a54042fd56324e88a042f23ec881ca3 /drivers/net/tun.c | |
parent | 6678053092e808485f4d56dca8705098436495e9 (diff) | |
download | linux-5e52796a9a3d56298273030cd438e8015a8d5683.tar.bz2 |
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.c | 1 |
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) |