]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
bonding: Don't segment multiple tagged packets on bonding device
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Fri, 27 Mar 2015 05:31:14 +0000 (14:31 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2015 20:33:24 +0000 (13:33 -0700)
Bonding devices don't need to segment multiple tagged packets since their
slaves 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/bonding/bond_main.c

index c026ce9cd7b6f52f1a6bff88b9e6053b13ecebcd..7b4684ccdb3fae520e568638e6a3fb240a388d12 100644 (file)
@@ -4038,6 +4038,7 @@ static const struct net_device_ops bond_netdev_ops = {
        .ndo_fix_features       = bond_fix_features,
        .ndo_bridge_setlink     = ndo_dflt_netdev_switch_port_bridge_setlink,
        .ndo_bridge_dellink     = ndo_dflt_netdev_switch_port_bridge_dellink,
+       .ndo_features_check     = passthru_features_check,
 };
 
 static const struct device_type bond_type = {