From: Patrick McHardy <kaber@trash.net>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Netfilter Development Mailinglist <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH nf-next-2.6] netfilter: nfnetlink_log: RCU conversion
Date: Mon, 14 Jun 2010 16:16:26 +0200 [thread overview]
Message-ID: <4C1639BA.9000402@trash.net> (raw)
In-Reply-To: <1276106970.2442.221.camel@edumazet-laptop>
Eric Dumazet wrote:
> [PATCH nf-next-2.6] netfilter: nfnetlink_log: RCU conversion, part 2
>
> - must use atomic_inc_not_zero() in instance_lookup_get()
>
> - must use hlist_add_head_rcu() instead of hlist_add_head()
>
> - must use hlist_del_rcu() instead of hlist_del()
>
> - Introduce NFULNL_COPY_DISABLED to stop lockless reader from using an
> instance, before we do final instance_put() on it.
>
>
Applied, thanks Eric.
prev parent reply other threads:[~2010-06-14 14:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-09 15:58 [PATCH nf-next-2.6] netfilter: nfnetlink_log: RCU conversion Eric Dumazet
2010-06-09 16:15 ` Patrick McHardy
2010-06-09 18:09 ` Eric Dumazet
2010-06-14 14:16 ` 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=4C1639BA.9000402@trash.net \
--to=kaber@trash.net \
--cc=eric.dumazet@gmail.com \
--cc=netfilter-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.