From: David Miller <davem@davemloft.net>
To: nhorman@tuxdriver.com
Cc: john.r.fastabend@intel.com, gaofeng@cn.fujitsu.com,
mark.d.rustad@intel.com, netdev@vger.kernel.org,
eric.dumazet@gmail.com
Subject: Re: [RFC PATCH] net: cgroup: null ptr dereference in netprio cgroup during init
Date: Wed, 18 Jul 2012 09:39:58 -0700 (PDT) [thread overview]
Message-ID: <20120718.093958.816641632074995342.davem@davemloft.net> (raw)
In-Reply-To: <20120718163721.GH25563@hmsreliant.think-freely.org>
From: Neil Horman <nhorman@tuxdriver.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@tuxdriver.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@tuxdriver.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.
next prev parent reply other threads:[~2012-07-18 16:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-18 0:33 [RFC PATCH] net: cgroup: null ptr dereference in netprio cgroup during init John Fastabend
2012-07-18 1:59 ` Gao feng
2012-07-18 5:50 ` John Fastabend
2012-07-18 7:58 ` Gao feng
2012-07-18 12:45 ` Neil Horman
2012-07-18 14:21 ` John Fastabend
2012-07-18 15:14 ` John Fastabend
2012-07-18 16:50 ` Neil Horman
2012-07-18 17:14 ` Neil Horman
2012-07-18 15:25 ` Neil Horman
2012-07-18 15:53 ` David Miller
2012-07-18 16:37 ` Neil Horman
2012-07-18 16:39 ` David Miller [this message]
2012-07-18 16:26 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120718.093958.816641632074995342.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=gaofeng@cn.fujitsu.com \
--cc=john.r.fastabend@intel.com \
--cc=mark.d.rustad@intel.com \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).