[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120718.085303.2226773601811613983.davem@davemloft.net>
Date: Wed, 18 Jul 2012 08:53:03 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nhorman@...driver.com
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
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.
--
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