[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150319132133.GA3458@kroah.com>
Date: Thu, 19 Mar 2015 14:21:33 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Brian Russell <brian.russell@...cade.com>
Cc: "Hans J. Koch" <hjk@...sjkoch.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4] uio: Fix uio driver to refcount device
On Thu, Mar 19, 2015 at 01:16:13PM +0000, Brian Russell wrote:
> Protect uio driver from its owner being unplugged while there are open fds.
> Embed struct device in struct uio_device, use refcounting on device, free
> uio_device on release.
> info struct passed in uio_register_device can be freed on unregister, so null
> out the field in uio_urnegister_device and check accesses.
>
> Signed-off-by: Brian Russell <brussell@...cade.com>
> ---
> drivers/uio/uio.c | 63 +++++++++++++++++++++++++++++++---------------
> include/linux/uio_driver.h | 2 +-
> 2 files changed, 44 insertions(+), 21 deletions(-)
when sending new versions, you need to list down here what changed from
the previous version. Please send a v5 with that, as I don't see what
changed between v3 and v4 very easily.
thanks,
greg k-h
--
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