|
@@ -2416,7 +2416,6 @@ static void vxlan_setup(struct net_device *dev)
|
|
dev->destructor = free_netdev;
|
|
dev->destructor = free_netdev;
|
|
SET_NETDEV_DEVTYPE(dev, &vxlan_type);
|
|
SET_NETDEV_DEVTYPE(dev, &vxlan_type);
|
|
|
|
|
|
- dev->tx_queue_len = 0;
|
|
|
|
dev->features |= NETIF_F_LLTX;
|
|
dev->features |= NETIF_F_LLTX;
|
|
dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM;
|
|
dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM;
|
|
dev->features |= NETIF_F_RXCSUM;
|
|
dev->features |= NETIF_F_RXCSUM;
|
|
@@ -2428,7 +2427,7 @@ static void vxlan_setup(struct net_device *dev)
|
|
dev->hw_features |= NETIF_F_GSO_SOFTWARE;
|
|
dev->hw_features |= NETIF_F_GSO_SOFTWARE;
|
|
dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX;
|
|
dev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX;
|
|
netif_keep_dst(dev);
|
|
netif_keep_dst(dev);
|
|
- dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
|
|
|
|
|
|
+ dev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_NO_QUEUE;
|
|
|
|
|
|
INIT_LIST_HEAD(&vxlan->next);
|
|
INIT_LIST_HEAD(&vxlan->next);
|
|
spin_lock_init(&vxlan->hash_lock);
|
|
spin_lock_init(&vxlan->hash_lock);
|