Преглед изворни кода

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>
Toshiaki Makita пре 10 година
родитељ
комит
5e52796a9a
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      drivers/net/tun.c

+ 1 - 0
drivers/net/tun.c

@@ -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)