summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorSabrina Dubroca2018-01-16 16:04:27 +0100
committerDavid S. Miller2018-01-17 22:16:03 +0100
commit877d17c79b66466942a836403773276e34fe3614 (patch)
treeb7fb010cc3eaa414f8518048a1d3e2ba107ec5ac /net/sctp
parenttls: fix sw_ctx leak (diff)
downloadkernel-qcow2-linux-877d17c79b66466942a836403773276e34fe3614.tar.gz
kernel-qcow2-linux-877d17c79b66466942a836403773276e34fe3614.tar.xz
kernel-qcow2-linux-877d17c79b66466942a836403773276e34fe3614.zip
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/sctp')
0 files changed, 0 insertions, 0 deletions