Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752856AbbFXOsK (ORCPT ); Wed, 24 Jun 2015 10:48:10 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:33650 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751024AbbFXOsC (ORCPT ); Wed, 24 Jun 2015 10:48:02 -0400 Message-ID: <558AC31E.40508@kernel.dk> Date: Wed, 24 Jun 2015 08:47:58 -0600 From: Jens Axboe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Asai Thambi SP CC: linux-kernel@vger.kernel.org, Julia Lawall , Dan Carpenter , Selvan Mani , Vignesh Gunasekaran , Sam Bradshaw Subject: Re: [PATCH] mtip32xx: Fix accessing freed memory References: <558A08A6.5050405@micron.com> In-Reply-To: <558A08A6.5050405@micron.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 810 Lines: 21 On 06/23/2015 07:32 PM, Asai Thambi SP wrote: > From 4e5d695dca047012bc537c991fba0f85d112c614 Mon Sep 17 00:00:00 2001 > From: Selvan Mani > Date: Mon, 22 Jun 2015 02:18:48 -0700 > Subject: [PATCH] mtip32xx: Fix accessing freed memory > > In mtip_pci_remove(), driver data 'dd' is accessed after freeing it. This > is a residue of SRSI code cleanup in the patch 016a41c38821 "mtip32xx: fix > crash on surprise removal of the drive". Removed the bit flags > MTIP_DDF_REMOVE_DONE_BIT and MTIP_PF_SR_CLEANUP_BIT. Thanks, applied. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/