Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 36989b90 authored by Kusanagi Kouichi's avatar Kusanagi Kouichi Committed by David S. Miller
Browse files

tun: Return -EINVAL if neither IFF_TUN nor IFF_TAP is set.



After commit 2b980dbd
("lsm: Add hooks to the TUN driver") tun_set_iff doesn't
return -EINVAL though neither IFF_TUN nor IFF_TAP is set.

Signed-off-by: default avatarKusanagi Kouichi <slash@ma.neweb.ne.jp>
Reviewed-by: default avatarPaul Moore <paul.moore@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9cc40855
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment