]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/openvswitch/vport-internal_dev.c
net: check dead netns for peernet2id_alloc()
[mirror_ubuntu-bionic-kernel.git] / net / openvswitch / vport-internal_dev.c
index 95c36147a6e136b1e11db6bbbb673c4b7f248e1a..e7da29021b38b7a81555d784473f88b7d6e3759d 100644 (file)
@@ -176,7 +176,7 @@ static void do_setup(struct net_device *netdev)
 
        netdev->vlan_features = netdev->features;
        netdev->hw_enc_features = netdev->features;
-       netdev->features |= NETIF_F_HW_VLAN_CTAG_TX;
+       netdev->features |= NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX;
        netdev->hw_features = netdev->features & ~NETIF_F_LLTX;
 
        eth_hw_addr_random(netdev);