diff options
author | Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp> | 2015-07-31 15:03:24 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-03 14:24:49 -0700 |
commit | f56e67b5154561dea2bac649085ee1fcb51006f8 (patch) | |
tree | 63e79658f35490c919542eaa835c81875a488d44 /drivers/net/macvlan.c | |
parent | 0fbd050a7d262b74527a289ae75a33626d1060a8 (diff) | |
download | op-kernel-dev-f56e67b5154561dea2bac649085ee1fcb51006f8.zip op-kernel-dev-f56e67b5154561dea2bac649085ee1fcb51006f8.tar.gz |
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 9f59f17..47da435 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) |