issues
search
ktls
/
af_ktls
Linux Kernel TLS/DTLS Module
GNU General Public License v2.0
157
stars
25
forks
source link
various fixes found in production testing
#90
Closed
djwatson
closed
7 years ago
djwatson
commented
8 years ago
In the socket callbacks, have to check for tsk, it can go away if we disconnect
add missing strp_stop/strp_done calls
add bh_lock_sock around sock_queue_rcv_skb, it expects t be called with lock
pre_encrypt had wrong encrypt_len in some cases
tls_sendmsg had correct but slow sk_stream_wait_memory calls, optimize
sock_kmalloc is called in atomic context, has to be atomic alloc. Found by lockdep
tls_recvmsg branch should be using 'chunk' copied bytes, not 'copied'
one of the bind failure branches had wrong goto label
cancel work / purge has to happen after detach from underlying socket for correct cleanup order
fridex
commented
7 years ago
Already in
https://github.com/ktls/af_ktls/pull/90
, merging there