Skip to content
Commit c3e448cd authored by Colin Ian King's avatar Colin Ian King Committed by Jakub Kicinski
Browse files

vsock: fix the error return when an invalid ioctl command is used



Currently when an invalid ioctl command is used the error return
is -EINVAL.  Fix this by returning the correct error -ENOIOCTLCMD.

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 6bc8f20c
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