From: David Miller <davem@davemloft.net>
To: gregory.v.rose@intel.com
Cc: eric.dumazet@gmail.com, netdev@vger.kernel.org
Subject: Re: [PATCH] rtnetlink: Fix problem with buffer allocation
Date: Tue, 21 Feb 2012 17:02:10 -0500 (EST) [thread overview]
Message-ID: <20120221.170210.1476576306533944488.davem@davemloft.net> (raw)
In-Reply-To: <C5551D9AAB213A418B7FD5E4A6F30A0702F96E22@ORSMSX106.amr.corp.intel.com>
From: "Rose, Gregory V" <gregory.v.rose@intel.com>
Date: Tue, 21 Feb 2012 21:56:14 +0000
> In rtnl_fill_ifinfo the code there uses hlist_for_each_entry_rcu()
> so I think that's why it got carried over here. I can remove it.
It does so because rtnl_fill_ifinfo() runs within an rcu_read_lock()
sequence.
I fixed up the calcit case when I applied your patch, so we're good
now.
prev parent reply other threads:[~2012-02-21 22:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-21 20:47 [PATCH] rtnetlink: Fix problem with buffer allocation Greg Rose
2012-02-21 21:16 ` David Miller
2012-02-21 21:21 ` David Miller
2012-02-21 21:28 ` Rose, Gregory V
2012-02-21 21:32 ` David Miller
2012-02-21 21:33 ` Rose, Gregory V
2012-02-21 21:41 ` Rose, Gregory V
2012-02-21 21:48 ` Eric Dumazet
2012-02-21 21:50 ` David Miller
2012-02-21 21:56 ` Rose, Gregory V
2012-02-21 22:02 ` David Miller [this message]
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=20120221.170210.1476576306533944488.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=eric.dumazet@gmail.com \
--cc=gregory.v.rose@intel.com \
--cc=netdev@vger.kernel.org \
/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).