ktls / af_ktls

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

fix release race #35

Closed djwatson closed 8 years ago

djwatson commented 8 years ago

Hold the callback lock, and add a new check for stopped rx. Since we release the tsk->socket, we can't use it to do the check and need a new variable.

Should fix https://github.com/fridex/af_ktls/issues/32

fridex commented 8 years ago

Thank you! Looks good.