mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
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>
This commit is contained in:
parent
0fbd050a7d
commit
f56e67b515
1 changed files with 1 additions and 0 deletions
|
@ -1047,6 +1047,7 @@ static const struct net_device_ops macvlan_netdev_ops = {
|
||||||
.ndo_netpoll_cleanup = macvlan_dev_netpoll_cleanup,
|
.ndo_netpoll_cleanup = macvlan_dev_netpoll_cleanup,
|
||||||
#endif
|
#endif
|
||||||
.ndo_get_iflink = macvlan_dev_get_iflink,
|
.ndo_get_iflink = macvlan_dev_get_iflink,
|
||||||
|
.ndo_features_check = passthru_features_check,
|
||||||
};
|
};
|
||||||
|
|
||||||
void macvlan_common_setup(struct net_device *dev)
|
void macvlan_common_setup(struct net_device *dev)
|
||||||
|
|
Loading…
Reference in a new issue