On Tue, Dec 19, 2017 at 10:31:22AM +0000, Jonathan Cameron wrote: > This variable was increased and decreased without any protection. > Result was an occasional misscount and negative wrap around resulting > in false resource allocation failures. > > Signed-off-by: Jonathan Cameron <[email protected]> > Fixes: 2d97591ef43d ("crypto: af_alg - consolidation of duplicate code")
Actually I think it used to be fine because we held the socket lock in the async callback. It only got broken when we removed the socket lock from the callback. commit 7d2c3f54e6f646887d019faa45f35d6fe9fe82ce Author: Stephan Mueller <[email protected]> Date: Fri Nov 10 13:20:55 2017 +0100 crypto: af_alg - remove locking in async callback Thanks, -- Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
