[Swan-commit] Changes to ref refs/heads/master
cagney at vault.libreswan.fi
Wed Feb 5 15:43:33 UTC 2020
Author: Andrew Cagney <cagney at gnu.org>
Date: Wed Jan 29 17:13:02 2020 -0500
crypto: during exit, shut down the helper threads
Here's the notes:
Wait for the crypto-helper threads to notice EXITING_PLUTO
and exit (if necessary, wake any sleeping helpers from
their slumber). Without this any helper using NSS after
the code below has shutdown the NSS DB will crash.
This does not try to delete any tasks left waiting on the
helper queue. Instead, code further down deleting
connections (which in turn deletes states) should clean
This also does not try to delete any completed tasks
waiting on the event loop. One theory is for the helper
code to be changed so that helper tasks can be "cancelled"
after the've completed?
More information about the Swan-commit