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

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

index 4ff77a16956c2740cdcae2c1a1e5a38209a7a6c9..0aa8f5cf46a17171c627e6949c51e684f28a58ed 100644 (file)
@@ -339,6 +339,7 @@ static const struct net_device_ops br_netdev_ops = {
        .ndo_bridge_getlink      = br_getlink,
        .ndo_bridge_setlink      = br_setlink,
        .ndo_bridge_dellink      = br_dellink,
+       .ndo_features_check      = passthru_features_check,
 };
 
 static void br_dev_free(struct net_device *dev)