projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fbd050
)
macvlan: Don't segment multiple tagged packets on macvlan device
author
Toshiaki Makita
<makita.toshiaki@lab.ntt.co.jp>
Fri, 31 Jul 2015 06:03:24 +0000
(15:03 +0900)
committer
David S. Miller
<davem@davemloft.net>
Mon, 3 Aug 2015 21:24:49 +0000
(14:24 -0700)
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>
drivers/net/macvlan.c
patch
|
blob
|
history
diff --git
a/drivers/net/macvlan.c
b/drivers/net/macvlan.c
index 9f59f17dc317a254641bdc48973ce78e089761bc..47da43595ac271c570e8536a2e1a3b697a9dbd79 100644
(file)
--- 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)