commit | 9180bb4f046064dfa4541488102703b402bb04e1 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Sat Mar 16 13:09:53 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 16 13:16:37 2019 -0700 |
tree | 8f5cd0f61fe38104ecb70f84ac3a63d6f9f4559b | |
parent | 0aedadcf6b4863a0d6eaad05a26425cc52944027 [diff] |
tun: add a missing rcu_read_unlock() in error path In my latest patch I missed one rcu_read_unlock(), in case device is down. Fixes: 4477138fa0ae ("tun: properly test for IFF_UP") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: syzbot <syzkaller@googlegroups.com> Signed-off-by: David S. Miller <davem@davemloft.net>