summaryrefslogtreecommitdiffstats
path: root/net/bridge/br_device.c
diff options
context:
space:
mode:
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>2015-07-31 08:03:26 +0200
committerDavid S. Miller <davem@davemloft.net>2015-08-03 23:24:50 +0200
commit6678053092e808485f4d56dca8705098436495e9 (patch)
tree62c557fdf80df73d5feee30894b5fd116a12b341 /net/bridge/br_device.c
parentveth: Don't segment multiple tagged packets on veth device (diff)
downloadlinux-6678053092e808485f4d56dca8705098436495e9.tar.xz
linux-6678053092e808485f4d56dca8705098436495e9.zip
bridge: Don't segment multiple tagged packets on bridge device
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>
Diffstat (limited to 'net/bridge/br_device.c')
-rw-r--r--net/bridge/br_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c
index 4ff77a16956c..0aa8f5cf46a1 100644
--- a/net/bridge/br_device.c
+++ b/net/bridge/br_device.c
@@ -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)