Skip to content
Commit ab45bc5d authored by Valentin Vidic's avatar Valentin Vidic Committed by Paul Gortmaker
Browse files

net/tls: Fix return values to avoid ENOTSUPP



commit 4a5cdc60 upstream.

ENOTSUPP is not available in userspace, for example:

  setsockopt failed, 524, Unknown error 524

Signed-off-by: default avatarValentin Vidic <vvidic@valentin-vidic.from.hr>
Acked-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
[PG: drop tools/selftest part; doesn't use ENOTSUPP in v5.2.x]
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent aaa20d43
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