[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120718.093958.816641632074995342.davem@davemloft.net>
Date: Wed, 18 Jul 2012 09:39:58 -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 12:37:21 -0400
> 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.
I totally agree, and such investigations can target net-next.
> But since we're looking to fix a specific problem at the end of rc:
> Acked-by: Neil Horman <nhorman@...driver.com>
Thanks Neil.
John can you respin your patch with the minor change I asked for? I'll
apply it as soon as you send it.
Thanks.
--
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