From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753583AbZERXif (ORCPT ); Mon, 18 May 2009 19:38:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752843AbZERXiR (ORCPT ); Mon, 18 May 2009 19:38:17 -0400 Received: from kroah.org ([198.145.64.141]:39538 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751740AbZERXiQ (ORCPT ); Mon, 18 May 2009 19:38:16 -0400 Date: Mon, 18 May 2009 16:33:43 -0700 From: Greg KH To: David Woodhouse Cc: Greg KH , "Theodore Ts'o" , Zwane Mwaikambo , torvalds@linux-foundation.org, Alan Stern , Eugene Teo , Justin Forbes , linux-kernel@vger.kernel.org, Chris Wedgwood , Domenico Andreoli , Randy Dunlap , Willy Tarreau , Michael Krufky , alan@lxorguk.ukuu.org.uk, Chuck Ebbert , Dave Jones , akpm@linux-foundation.org, Jake Edge , Chuck Wolber , stable@kernel.org, Rodrigo Rubira Branco Subject: Re: [stable] [patch 06/51] usb-serial: ftdi_sio: fix reference counting of ftdi_private Message-ID: <20090518233343.GB8754@kroah.com> References: <20090514223235.348540705@mini.kroah.org> <20090514223521.148009855@mini.kroah.org> <1242650792.30251.46.camel@macbook.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1242650792.30251.46.camel@macbook.infradead.org> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 18, 2009 at 01:46:32PM +0100, David Woodhouse wrote: > On Thu, 2009-05-14 at 15:32 -0700, Greg KH wrote: > > 2.6.29-stable review patch. If anyone has any objections, please let > > us know. > > > > ------------------ > > > > From: Alan Stern > > > > commit c45d63202fbaccef7ef7946c03f27f72c809b1cc upstream. > > > > This patch (as1238) adds proper reference counting for ftdi_sio's > > private data structure. Without it, the driver will free the > > structure while it is still in use if the user unplugs the serial > > device before closing the device file. > > > > The patch also replaces a slightly dangerous > > cancel_delayed_work/flush_scheduled_work pair with > > cancel_delayed_work_sync, which is always safer. > > > > Signed-off-by: Alan Stern > > Reported-by: Daniel Mack > > Tested-by: Daniel Mack > > Signed-off-by: Greg Kroah-Hartman > > Works for me as long as you include the incremental patch I just sent. I'll queue that one up for the next .29-stable release. thanks, greg k-h