summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorToshiaki Makita2015-03-27 06:31:14 +0100
committerDavid S. Miller2015-03-29 22:33:24 +0200
commit4847f04982c360ffb233a10e8ef79a16e8be5c28 (patch)
treee1d9f87446ba1e655812930340683db25ee01b60 /drivers/net/bonding/bond_main.c
parentnet: Introduce passthru_features_check (diff)
downloadkernel-qcow2-linux-4847f04982c360ffb233a10e8ef79a16e8be5c28.tar.gz
kernel-qcow2-linux-4847f04982c360ffb233a10e8ef79a16e8be5c28.tar.xz
kernel-qcow2-linux-4847f04982c360ffb233a10e8ef79a16e8be5c28.zip
bonding: Don't segment multiple tagged packets on bonding device
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>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index c026ce9cd7b6..7b4684ccdb3f 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -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 = {