From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754848AbZLVWSA (ORCPT ); Tue, 22 Dec 2009 17:18:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752874AbZLVWR6 (ORCPT ); Tue, 22 Dec 2009 17:17:58 -0500 Received: from mail-vw0-f192.google.com ([209.85.212.192]:64987 "EHLO mail-vw0-f192.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752709AbZLVWR6 (ORCPT ); Tue, 22 Dec 2009 17:17:58 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=S1yvaCm3e40dtWWdHmGIaDhwBm4n26JJ0PhY0dGsHrjuCRh/ArfZlaREOpEZl73HNq Yirm/OzCrITh7UYwy/o/cIaBn4CUQwPbu6S4UA5WHXjkbzG5SCOKz6qYaPFLrtqf0cLL ehS/UkqvGWLnAdJEz98ikpMMNE08E4BQMLoVs= MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 22 Dec 2009 15:17:56 -0700 X-Google-Sender-Auth: 9b667042d112e97a Message-ID: Subject: Re: [PATCH 1/6] drivers/dma: Correct use after free From: Dan Williams To: Julia Lawall Cc: Maciej Sosnowski , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 22, 2009 at 1:30 PM, Julia Lawall wrote: > From: Julia Lawall > > Move the kfree after the iounmap that refers to the same structure. > Thanks Julia. I'll apply this one and the kzalloc versus memset one you sent earlier. -- Dan