From: Herbert Xu Date: Sun, 6 Aug 2006 10:28:44 +0000 (+1000) Subject: [CRYPTO] api: Add crypto_alg reference counting X-Git-Tag: v2.6.19-rc1~1297^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6521f30273fbec65146a0f16de74b7b402b0f7b0;p=pandora-kernel.git [CRYPTO] api: Add crypto_alg reference counting Up until now we've relied on module reference counting to ensure that the crypto_alg structures don't disappear from under us. This was good enough as long as each crypto_alg came from exactly one module. However, with parameterised crypto algorithms a crypto_alg object may need two or more modules to operate. This means that we need to count the references to the crypto_alg object directly. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed