From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754259Ab0DBUIn (ORCPT ); Fri, 2 Apr 2010 16:08:43 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:58342 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751791Ab0DBUIh (ORCPT ); Fri, 2 Apr 2010 16:08:37 -0400 Date: Fri, 2 Apr 2010 21:09:10 +0100 From: Alan Cox To: Linus Torvalds Cc: Oleg Nesterov , Andrew Morton , Alan Cox , Greg KH , Catalin Marinas , Tetsuo Handa , Linux Kernel Mailing List , Serge Hallyn , "Eric W. Biederman" , Sukadev Bhattiprolu , stable@kernel.org Subject: Re: [PATCH 1/1] tty: release_one_tty() forgets to put pids Message-ID: <20100402210910.7d44766a@lxorguk.ukuu.org.uk> In-Reply-To: References: <201003272121.ADE39095.JLFHOOMtSVOFQF@I-love.SAKURA.ne.jp> <20100331151719.8a92b302.akpm@linux-foundation.org> <20100402160447.GA19920@redhat.com> <20100402160512.GB19920@redhat.com> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.18.6; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > So I'll ACK it. But maybe Alan sees some problem/issue I didn't see. I have no idea. Someone with the time (not me right now) will have to trace the error paths or perhaps play safe and NULL any pointers so that they can free it in the destructor only if one was set ?