From: Stephen Hemminger <stephen@networkplumber.org>
To: Pravin B Shelar <pshelar@nicira.com>
Cc: netdev@vger.kernel.org, Jesse Gross <jesse@nicira.com>
Subject: Re: [PATCH net] vxlan: Use RCU apis to access sk_user_data.
Date: Tue, 24 Sep 2013 09:20:50 -0700 [thread overview]
Message-ID: <20130924092050.2c80bc74@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <1380000501-13969-1-git-send-email-pshelar@nicira.com>
On Mon, 23 Sep 2013 22:28:21 -0700
Pravin B Shelar <pshelar@nicira.com> wrote:
>
> +#define sk_user_data_rcu(sk) ((*((void __rcu **)&(sk)->sk_user_data)))
I don't like the macro, is it just to keep sparse happy?
The name also implies that rcu_dereference() is built in.
next prev parent reply other threads:[~2013-09-24 16:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-24 5:28 [PATCH net] vxlan: Use RCU apis to access sk_user_data Pravin B Shelar
2013-09-24 5:51 ` Eric Dumazet
2013-09-24 16:20 ` Stephen Hemminger [this message]
2013-09-24 16:27 ` Pravin Shelar
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=20130924092050.2c80bc74@nehalam.linuxnetplumber.net \
--to=stephen@networkplumber.org \
--cc=jesse@nicira.com \
--cc=netdev@vger.kernel.org \
--cc=pshelar@nicira.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 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.