diff options
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | 2015-07-31 08:03:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-03 23:24:49 +0200 |
commit | f56e67b5154561dea2bac649085ee1fcb51006f8 (patch) | |
tree | 63e79658f35490c919542eaa835c81875a488d44 /drivers/net/macvlan.c | |
parent | virtio_net: add gro capability (diff) | |
download | linux-f56e67b5154561dea2bac649085ee1fcb51006f8.tar.xz linux-f56e67b5154561dea2bac649085ee1fcb51006f8.zip |
macvlan: Don't segment multiple tagged packets on macvlan device
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>
Diffstat (limited to 'drivers/net/macvlan.c')
-rw-r--r-- | drivers/net/macvlan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 9f59f17dc317..47da43595ac2 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -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) |