From: Patrick McHardy <kaber@trash.net>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Florian Westphal <fw@strlen.de>, Eric Leblond <eric@regit.org>,
sclark46@earthlink.net, Kuzin Andrey <kuzinandrey@yandex.ru>,
Anders Nilsson Plymoth <lanilsson@gmail.com>,
netfilter-devel <netfilter-devel@vger.kernel.org>,
netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH 1/2] nfnetlink: add RCU in nfnetlink_rcv_msg()
Date: Mon, 18 Jul 2011 16:06:54 +0200 [thread overview]
Message-ID: <4E243DFE.4080100@trash.net> (raw)
In-Reply-To: <1309534078.2599.25.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
On 01.07.2011 17:27, Eric Dumazet wrote:
> [PATCH 1/2] nfnetlink: add RCU in nfnetlink_rcv_msg()
>
> Goal of this patch is to permit nfnetlink providers not mandate
> nfnl_mutex being held while nfnetlink_rcv_msg() calls them.
>
> If struct nfnl_callback contains a non NULL call_rcu(), then
> nfnetlink_rcv_msg() will use it instead of call() field, holding
> rcu_read_lock instead of nfnl_mutex
>
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
> CC: Florian Westphal <fw@strlen.de>
> CC: Eric Leblond <eric@regit.org>
> CC: Patrick McHardy <kaber@trash.net>
Applied, thanks Eric.
prev parent reply other threads:[~2011-07-18 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1309416426.2532.119.camel@edumazet-laptop>
[not found] ` <4E0C278B.7010403@yandex.ru>
[not found] ` <1309433652.1994.7.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
[not found] ` <4E0C651A.1000300@trash.net>
[not found] ` <1309446900.1994.17.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
[not found] ` <4E0C8902.8070303@earthlink.net>
[not found] ` <4E0C8D7F.3000902@trash.net>
[not found] ` <1309453730.5846.31.camel@tiger.regit.org>
[not found] ` <1309455919.2515.3.camel@edumazet-laptop>
[not found] ` <1309503610.2515.18.camel@edumazet-laptop>
[not found] ` <20110701074936.GR16021@Chamillionaire.breakpoint.cc>
2011-07-01 15:27 ` [PATCH 1/2] nfnetlink: add RCU in nfnetlink_rcv_msg() Eric Dumazet
2011-07-01 14:11 ` Florian Westphal
2011-07-05 13:22 ` Patrick McHardy
2011-07-18 14:06 ` Patrick McHardy [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=4E243DFE.4080100@trash.net \
--to=kaber@trash.net \
--cc=eric.dumazet@gmail.com \
--cc=eric@regit.org \
--cc=fw@strlen.de \
--cc=kuzinandrey@yandex.ru \
--cc=lanilsson@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=sclark46@earthlink.net \
/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).