I was concerned about the error handling for crypto_get_attr_type() in
pcrypt_alloc_aead(). Steffen Klassert pointed out that we could simply
avoid calling crypto_get_attr_type() if we passed the type and mask as a
parameter.
Signed-off-by: Dan Carpenter erro...@gmail.com
diff --git
On Mon, Mar 22, 2010 at 04:53:19PM +0300, Dan Carpenter wrote:
-static struct crypto_instance *pcrypt_alloc_aead(struct rtattr **tb)
+static struct crypto_instance *pcrypt_alloc_aead(struct rtattr **tb,
+ struct crypto_attr_type *algt)
{