macvlan: Don't segment multiple tagged packets on macvlan device
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Fri, 31 Jul 2015 06:03:24 +0000 (15:03 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Aug 2015 21:24:49 +0000 (14:24 -0700)
Macvlan/macvtap devices don't need to segment multiple tagged packets
since the lower devices can segment them.

Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c

index 9f59f17dc317a254641bdc48973ce78e089761bc..47da43595ac271c570e8536a2e1a3b697a9dbd79 100644 (file)
@@ -1047,6 +1047,7 @@ static const struct net_device_ops macvlan_netdev_ops = {
        .ndo_netpoll_cleanup    = macvlan_dev_netpoll_cleanup,
 #endif
        .ndo_get_iflink         = macvlan_dev_get_iflink,
+       .ndo_features_check     = passthru_features_check,
 };
 
 void macvlan_common_setup(struct net_device *dev)
This page took 0.025864 seconds and 5 git commands to generate.