[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1242650792.30251.46.camel@macbook.infradead.org>
Date: Mon, 18 May 2009 13:46:32 +0100
From: David Woodhouse <dwmw2@...radead.org>
To: Greg KH <gregkh@...e.de>
Cc: linux-kernel@...r.kernel.org, stable@...nel.org,
Justin Forbes <jmforbes@...uxtx.org>,
Zwane Mwaikambo <zwane@....linux.org.uk>,
Theodore Ts'o <tytso@....edu>,
Randy Dunlap <rdunlap@...otime.net>,
Dave Jones <davej@...hat.com>,
Chuck Wolber <chuckw@...ntumlinux.com>,
Chris Wedgwood <reviews@...cw.f00f.org>,
Michael Krufky <mkrufky@...uxtv.org>,
Chuck Ebbert <cebbert@...hat.com>,
Domenico Andreoli <cavokz@...il.com>, Willy Tarreau <w@....eu>,
Rodrigo Rubira Branco <rbranco@...checkpoint.com>,
Jake Edge <jake@....net>, Eugene Teo <eteo@...hat.com>,
torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
alan@...rguk.ukuu.org.uk, Alan Stern <stern@...land.harvard.edu>
Subject: Re: [patch 06/51] usb-serial: ftdi_sio: fix reference counting of
ftdi_private
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 <stern@...land.harvard.edu>
>
> 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 <stern@...land.harvard.edu>
> Reported-by: Daniel Mack <daniel@...aq.de>
> Tested-by: Daniel Mack <daniel@...aq.de>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
Works for me as long as you include the incremental patch I just sent.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@...el.com Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists