--- tun.c 2017-03-08 23:19:40.117615235 +0300 +++ tun.c.new 2017-03-08 23:20:12.886749195 +0300 @@ -1919,6 +1919,8 @@ return -EINVAL; tun->set_features = features; + tun->dev->wanted_features &= ~TUN_USER_FEATURES; + tun->dev->wanted_features |= features; netdev_update_features(tun->dev); return 0;