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>
This commit is contained in:
parent
6678053092
commit
5e52796a9a
|
@ -961,6 +961,7 @@ static const struct net_device_ops tap_netdev_ops = {
|
||||||
#ifdef CONFIG_NET_POLL_CONTROLLER
|
#ifdef CONFIG_NET_POLL_CONTROLLER
|
||||||
.ndo_poll_controller = tun_poll_controller,
|
.ndo_poll_controller = tun_poll_controller,
|
||||||
#endif
|
#endif
|
||||||
|
.ndo_features_check = passthru_features_check,
|
||||||
};
|
};
|
||||||
|
|
||||||
static void tun_flow_init(struct tun_struct *tun)
|
static void tun_flow_init(struct tun_struct *tun)
|
||||||
|
|
Loading…
Reference in a new issue