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:
1e6f20c
)
net: ipvlan: convert to using IFF_NO_QUEUE
author
Phil Sutter
<
[email protected]
>
Tue, 18 Aug 2015 08:30:40 +0000
(10:30 +0200)
committer
David S. Miller
<
[email protected]
>
Tue, 18 Aug 2015 18:55:06 +0000
(11:55 -0700)
Signed-off-by: Phil Sutter <
[email protected]
>
Cc: Mahesh Bandewar <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ipvlan/ipvlan_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ipvlan/ipvlan_main.c
b/drivers/net/ipvlan/ipvlan_main.c
index 20b58bdecf7540100edc5522e74804e6a7544d95..a9268db4e349fc2e131be0010ecd67e8bb779939 100644
(file)
--- a/
drivers/net/ipvlan/ipvlan_main.c
+++ b/
drivers/net/ipvlan/ipvlan_main.c
@@
-520,12
+520,11
@@
static void ipvlan_link_setup(struct net_device *dev)
ether_setup(dev);
dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_TX_SKB_SHARING);
- dev->priv_flags |= IFF_UNICAST_FLT;
+ dev->priv_flags |= IFF_UNICAST_FLT
| IFF_NO_QUEUE
;
dev->netdev_ops = &ipvlan_netdev_ops;
dev->destructor = free_netdev;
dev->header_ops = &ipvlan_header_ops;
dev->ethtool_ops = &ipvlan_ethtool_ops;
- dev->tx_queue_len = 0;
}
static const struct nla_policy ipvlan_nl_policy[IFLA_IPVLAN_MAX + 1] =