diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2018-01-16 16:04:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-17 16:16:03 -0500 |
commit | 877d17c79b66466942a836403773276e34fe3614 (patch) | |
tree | b7fb010cc3eaa414f8518048a1d3e2ba107ec5ac /net/sched | |
parent | cf6d43ef66f416282121f436ce1bee9a25199d52 (diff) |
tls: return -EBUSY if crypto_info is already set
do_tls_setsockopt_tx returns 0 without doing anything when crypto_info
is already set. Silent failure is confusing for users.
Fixes: 3c4d7559159b ("tls: kernel TLS support")
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions