mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-18 18:15:59 +00:00
[VLAN]: Return proper error codes in register_vlan_device
The returned device is unused, return proper error codes instead and avoid having the ioctl handler guess the error. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e89fe42cd0
commit
2ae0bf69b7
1 changed files with 14 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue