diff options
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index faf9297db2cf..42992dcbdda8 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -1796,7 +1796,7 @@ static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr) | |||
1796 | dev->hw_features = NETIF_F_SG | NETIF_F_FRAGLIST | | 1796 | dev->hw_features = NETIF_F_SG | NETIF_F_FRAGLIST | |
1797 | TUN_USER_FEATURES | NETIF_F_HW_VLAN_CTAG_TX | | 1797 | TUN_USER_FEATURES | NETIF_F_HW_VLAN_CTAG_TX | |
1798 | NETIF_F_HW_VLAN_STAG_TX; | 1798 | NETIF_F_HW_VLAN_STAG_TX; |
1799 | dev->features = dev->hw_features; | 1799 | dev->features = dev->hw_features | NETIF_F_LLTX; |
1800 | dev->vlan_features = dev->features & | 1800 | dev->vlan_features = dev->features & |
1801 | ~(NETIF_F_HW_VLAN_CTAG_TX | | 1801 | ~(NETIF_F_HW_VLAN_CTAG_TX | |
1802 | NETIF_F_HW_VLAN_STAG_TX); | 1802 | NETIF_F_HW_VLAN_STAG_TX); |