From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: Re: [PATCH v2] dm-crypt: fix a possible race condition on exit Date: Thu, 19 Nov 2015 14:34:57 -0500 Message-ID: <20151119193456.GA12698@redhat.com> References: Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Mikulas Patocka Cc: dm-devel@redhat.com, "Alasdair G. Kergon" List-Id: dm-devel.ids On Thu, Nov 19 2015 at 7:36am -0500, Mikulas Patocka wrote: > I forgot to unlock the spinlock when terminating the thread - so here is > new version of the patch. I applied this patch for inclusion in 4.4-rc (will likely send to Linus next week once it gets some exposure in linux-next), see: https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=dm-4.4&id=bcbd94ff481ec1d7b5c824d90df82d0faafabd35