Home
last modified time | relevance | path

Searched hist:ab00af85d2f886a8e4ace1342d9cc2b232eab6a8 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dtun.cdiff ab00af85d2f886a8e4ace1342d9cc2b232eab6a8 Thu Nov 10 01:31:25 CST 2022 Chuang Wang <nashuiliang@gmail.com> 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: Chuang Wang <nashuiliang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>