Skip to content

Commit

Permalink
tuntap: Don't segment multiple tagged packets on tap device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Toshiaki Makita authored and David S. Miller committed Aug 3, 2015
1 parent 6678053 commit 5e52796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/tun.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5e52796

Please sign in to comment.