[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E243DFE.4080100@trash.net>
Date: Mon, 18 Jul 2011 16:06:54 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Eric Dumazet <eric.dumazet@...il.com>
CC: Florian Westphal <fw@...len.de>, Eric Leblond <eric@...it.org>,
sclark46@...thlink.net, Kuzin Andrey <kuzinandrey@...dex.ru>,
Anders Nilsson Plymoth <lanilsson@...il.com>,
netfilter-devel <netfilter-devel@...r.kernel.org>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH 1/2] nfnetlink: add RCU in nfnetlink_rcv_msg()
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@...il.com>
> CC: Florian Westphal <fw@...len.de>
> CC: Eric Leblond <eric@...it.org>
> CC: Patrick McHardy <kaber@...sh.net>
Applied, thanks Eric.
--
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