[Swan-commit] Changes to ref refs/heads/master
cagney at vault.libreswan.fi
Tue Dec 19 20:52:44 UTC 2017
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Dec 14 17:07:59 2017 -0500
crypto: replace socket queues with a simple queue and mutex+cont
Since there is a single queue, things are processed strictly FIFO.
Since the code assumes infinite resources only STF_SUSPENDED can be returned
(i.e., STF_FAIL and/or STF_TOOMUCHCRYPTO are never returned).
If too much crypto proves to still be a problem, it can be handled by
scheduling a crypto timeout with a timeout of zero.
Also fixes a core dump from dereferencing the worker introduced when
More information about the Swan-commit