From: Herbert Xu Subject: Crypto Fixes for 3.12 Date: Fri, 13 Sep 2013 21:30:52 +1000 Message-ID: <20130913113051.GA8189@gondor.apana.org.au> References: <20100903060055.GA28915@gondor.apana.org.au> <20100903110722.GA31826@gondor.apana.org.au> <20101215115035.GA25248@gondor.apana.org.au> <20110216053911.GA10999@gondor.apana.org.au> <20110328071322.GA6569@gondor.apana.org.au> <20110629235153.GA16559@gondor.apana.org.au> <20120126024342.GA12492@gondor.apana.org.au> <20120823083242.GA23102@gondor.apana.org.au> <20121109093005.GA25632@gondor.apana.org.au> <20130328082841.GA7425@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Linus Torvalds , "David S. Miller" , Linux Kernel Mailing List , Linux Crypto Mailing List Return-path: Received: from ringil.hengli.com.au ([178.18.16.133]:58816 "EHLO fornost.hengli.com.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751418Ab3IMLa6 (ORCPT ); Fri, 13 Sep 2013 07:30:58 -0400 Content-Disposition: inline In-Reply-To: <20130328082841.GA7425@gondor.apana.org.au> Sender: linux-crypto-owner@vger.kernel.org List-ID: Hi Linus: This push fixes a 7+ year race condition in the crypto API that causes sporadic crashes when multiple threads load the same algorithm. It also fixes the crct10dif algorithm again to prevent boot failures on systems where the initramfs tool ignores module softdeps. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Herbert Xu (2): crypto: api - Fix race condition in larval lookup crypto: crct10dif - Add fallback for broken initrds crypto/Makefile | 2 +- crypto/api.c | 7 +- crypto/{crct10dif.c => crct10dif_common.c} | 100 +-------------------------- crypto/{crct10dif.c => crct10dif_generic.c} | 53 +------------- lib/crc-t10dif.c | 11 ++- 5 files changed, 20 insertions(+), 153 deletions(-) Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt