aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r--drivers/net/tun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 29538e6e914d..316c759bd988 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1656,6 +1656,7 @@ static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr)
1656 dev->hw_features = NETIF_F_SG | NETIF_F_FRAGLIST | 1656 dev->hw_features = NETIF_F_SG | NETIF_F_FRAGLIST |
1657 TUN_USER_FEATURES; 1657 TUN_USER_FEATURES;
1658 dev->features = dev->hw_features; 1658 dev->features = dev->hw_features;
1659 dev->vlan_features = dev->features;
1659 1660
1660 INIT_LIST_HEAD(&tun->disabled); 1661 INIT_LIST_HEAD(&tun->disabled);
1661 err = tun_attach(tun, file); 1662 err = tun_attach(tun, file);