From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: Re: dm-mpath: Clear map_context pointer when requeuing Date: Wed, 30 Nov 2011 09:49:52 -0500 Message-ID: <20111130144951.GA13775@redhat.com> References: <1322663118-53387-1-git-send-email-hare@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mx1.redhat.com ([209.132.183.28]:7725 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756791Ab1K3OuC (ORCPT ); Wed, 30 Nov 2011 09:50:02 -0500 Content-Disposition: inline In-Reply-To: <1322663118-53387-1-git-send-email-hare@suse.de> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Hannes Reinecke Cc: linux-scsi@vger.kernel.org, James Bottomley , "Alasdair G. Kergon" , dm-devel@redhat.com On Wed, Nov 30 2011 at 9:25am -0500, Hannes Reinecke wrote: > When requeing a request we should be clearing the map_context > pointer, otherwise we might access an invalid memory location. > > Cc: Mike Snitzer > Signed-off-by: Hannes Reinecke > Tested-by: Heiko Carstens Acked-by: Mike Snitzer Should Cc: stable too. (I was thinking Alasdair would pick this up for 3.2 seeing as it is a change to dm-mpath.c. Alasdair, James.. I'll let you guys decide)