aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ipvlan/ipvlan_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ipvlan/ipvlan_main.c b/drivers/net/ipvlan/ipvlan_main.c
index 20b58bdecf75..a9268db4e349 100644
--- 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)
520 ether_setup(dev); 520 ether_setup(dev);
521 521
522 dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_TX_SKB_SHARING); 522 dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | IFF_TX_SKB_SHARING);
523 dev->priv_flags |= IFF_UNICAST_FLT; 523 dev->priv_flags |= IFF_UNICAST_FLT | IFF_NO_QUEUE;
524 dev->netdev_ops = &ipvlan_netdev_ops; 524 dev->netdev_ops = &ipvlan_netdev_ops;
525 dev->destructor = free_netdev; 525 dev->destructor = free_netdev;
526 dev->header_ops = &ipvlan_header_ops; 526 dev->header_ops = &ipvlan_header_ops;
527 dev->ethtool_ops = &ipvlan_ethtool_ops; 527 dev->ethtool_ops = &ipvlan_ethtool_ops;
528 dev->tx_queue_len = 0;
529} 528}
530 529
531static const struct nla_policy ipvlan_nl_policy[IFLA_IPVLAN_MAX + 1] = 530static const struct nla_policy ipvlan_nl_policy[IFLA_IPVLAN_MAX + 1] =