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:
f551588
)
macvlan: convert to use IFF_NO_QUEUE
author
Zhang Shengju
<zhangshengju@cmss.chinamobile.com>
Sun, 14 Feb 2016 14:10:39 +0000
(14:10 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 17 Feb 2016 20:19:44 +0000
(15:19 -0500)
Use IFF_NO_QUEUE to indicate that a device can run without a qdisc.
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
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 94e688805dd262317327a446d8e2e460a668d75a..426a2cc27ac8567bd4a3de439a4453f855c33c16 100644
(file)
--- a/
drivers/net/macvlan.c
+++ b/
drivers/net/macvlan.c
@@
-1069,7
+1069,7
@@
EXPORT_SYMBOL_GPL(macvlan_common_setup);
static void macvlan_setup(struct net_device *dev)
{
macvlan_common_setup(dev);
- dev->
tx_queue_len = 0
;
+ dev->
priv_flags |= IFF_NO_QUEUE
;
}
static int macvlan_port_create(struct net_device *dev)