ktls / af_ktls

Linux Kernel TLS/DTLS Module
GNU General Public License v2.0
157 stars 25 forks source link

Fixed memleak #72

Closed lancerchao closed 8 years ago

lancerchao commented 8 years ago

Packets allocated in data_ready are put in sk_receive_queue. They are freed as they are read in tls_recvmsg. If user does not read all the packets before closing the socket, all the non-read packets will be leaked unless they are freed in destruct

fridex commented 8 years ago

LGTM, thanks!