From: Benjamin LaHaise Subject: Re: [PATCH 2/2] aio: nullify aio->ring_pages after freeing it Date: Tue, 19 Nov 2013 17:45:54 -0500 Message-ID: <20131119224554.GG14098@kvack.org> References: <1384900383-22009-1-git-send-email-sasha.levin@oracle.com> <1384900383-22009-2-git-send-email-sasha.levin@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: viro@zeniv.linux.org.uk, linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: Sasha Levin Return-path: Content-Disposition: inline In-Reply-To: <1384900383-22009-2-git-send-email-sasha.levin@oracle.com> Sender: owner-linux-aio@kvack.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Nov 19, 2013 at 05:33:03PM -0500, Sasha Levin wrote: > After freeing ring_pages we leave it as is causing a dangling pointer. This > has already caused an issue so to help catching any issues in the future > NULL it out. Applied as well, I'll send this out after running some tests on the resulting tree tonight. -ben -- "Thought is the essence of where you are now." -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to majordomo@kvack.org. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: aart@kvack.org