aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls/tls_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tls/tls_main.c')
-rw-r--r--net/tls/tls_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls_main.c b/net/tls/tls_main.c
index a6c3702e0ddb..c105f86a7ea6 100644
--- a/net/tls/tls_main.c
+++ b/net/tls/tls_main.c
@@ -376,7 +376,7 @@ static int do_tls_setsockopt_tx(struct sock *sk, char __user *optval,
376 rc = copy_from_user(crypto_info, optval, sizeof(*crypto_info)); 376 rc = copy_from_user(crypto_info, optval, sizeof(*crypto_info));
377 if (rc) { 377 if (rc) {
378 rc = -EFAULT; 378 rc = -EFAULT;
379 goto out; 379 goto err_crypto_info;
380 } 380 }
381 381
382 /* check version */ 382 /* check version */