[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120718163721.GH25563@hmsreliant.think-freely.org>
Date: Wed, 18 Jul 2012 12:37:21 -0400
From: Neil Horman <nhorman@...driver.com>
To: David Miller <davem@...emloft.net>
Cc: john.r.fastabend@...el.com, gaofeng@...fujitsu.com,
mark.d.rustad@...el.com, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [RFC PATCH] net: cgroup: null ptr dereference in netprio cgroup
during init
On Wed, Jul 18, 2012 at 08:53:03AM -0700, David Miller wrote:
> From: Neil Horman <nhorman@...driver.com>
> Date: Wed, 18 Jul 2012 11:25:20 -0400
>
> > Yeah, I see what you mean. Seems like what we need is to either:
> > 1) move cgroup_init to later in the boot process. If you're not early_init,
> > then I don't see why the subsystem can't wait until later in the boot process
> > (i.e. make cgroup_init a late_initcall or some such).
> >
> > or
> >
> > 2) Allow module based cgroups to flag themselves as needing late init after the
> > rest of the kernel has booted.
>
> These are way too complicated compared to John's currently proposed
> fix for this recently introduced regression.
>
> I want a one liner which I can prove is going to remove the crash.
>
> All of this talk of rearranging initcall ordering for cgroup stuff
> is too ambitious this late in the -rc.
>
Thats a fair point. I'd still like to look into this further, as I think theres
a more correct answer than the current proposal. But since we're looking to fix a
specific problem at the end of rc:
Acked-by: Neil Horman <nhorman@...driver.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists