From: Eric Dumazet
Date: Wed, 18 Oct 2017 12:12:09 -0700
> From: Eric Dumazet
>
> syzkaller got crashes at dismantle time [1]
>
> It is not correct to test (tun->flags & IFF_NAPI) in tun_napi_disable()
> and tun_napi_del() : Each tun_file can have different mode, depending
> on how they were c
From: Eric Dumazet
syzkaller got crashes at dismantle time [1]
It is not correct to test (tun->flags & IFF_NAPI) in tun_napi_disable()
and tun_napi_del() : Each tun_file can have different mode, depending
on how they were created.
Similarly I have changed tun_get_user() and tun_poll_controller(