[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100917204919.GA2522@local>
Date: Fri, 17 Sep 2010 22:49:20 +0200
From: "Hans J. Koch" <hjk@...utronix.de>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Greg Kroah-Hartman <gregkh@...e.de>,
"Hans J. Koch" <hjk@...utronix.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/5] uio: Fix lack of locking in init_uio_class
On Fri, Sep 17, 2010 at 10:32:35PM +0200, Thomas Gleixner wrote:
>
>
> On Tue, 14 Sep 2010, Eric W. Biederman wrote:
>
> >
> > There is no locking in init_uio_class so multiple
> > drivers can race and create multiple uio classes.
> >
> > Fix this by simplifying the code. In particular always
> > register the uio class during module_init and make things
> > simpler.
> >
> > Signed-off-by: Eric W. Biederman <ebiederm@...stanetworks.com>
>
> Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
Signed-off-by: Hans J. Koch <hjk@...utronix.de>
--
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