Re: Linux 4.14-rc6 bisected regression tun devices not working anymore in openvpn

From: David Miller
Date: Sat Oct 28 2017 - 21:42:44 EST


From: Cong Wang <xiyou.wangcong@xxxxxxxxx>
Date: Sat, 28 Oct 2017 10:37:27 -0700

> On Sat, Oct 28, 2017 at 7:57 AM, Sander Eikelenboom
> <linux@xxxxxxxxxxxxxx> wrote:
>> The offending commit is:
>> 0ad646c81b2182f7fa67ec0c8c825e0ee165696d
>> "tun: call dev_get_valid_name() before register_netdevice()"
>>
>> Reverting this commit fixes the issue for me, it's unfortunate that the commit it self seems to fix an other issue.
>
> It should be fixed by:
>
> commit 5c25f65fd1e42685f7ccd80e0621829c105785d9
> Author: Julien Gomes <julien@xxxxxxxxxx>
> Date: Wed Oct 25 11:50:50 2017 -0700
>
> tun: allow positive return values on dev_get_valid_name() call

I made sure to queue this up for -stable since the offending commit is queued up
there as well.