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: Valentin Vidic <vvidic@valentin-vidic.from.hr> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net> [PG: drop tools/selftest part; doesn't use ENOTSUPP in v5.2.x] Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Please register or sign in to comment