Skip to content
Commit ab00af85 authored by Chuang Wang's avatar Chuang Wang Committed by David S. Miller
Browse files

net: tun: rebuild error handling in tun_get_user



The error handling in tun_get_user is very scattered.
This patch unifies error handling, reduces duplication of code, and
makes the logic clearer.

Signed-off-by: default avatarChuang Wang <nashuiliang@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b548b17a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment