[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130924092050.2c80bc74@nehalam.linuxnetplumber.net>
Date: Tue, 24 Sep 2013 09:20:50 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Pravin B Shelar <pshelar@...ira.com>
Cc: netdev@...r.kernel.org, Jesse Gross <jesse@...ira.com>
Subject: Re: [PATCH net] vxlan: Use RCU apis to access sk_user_data.
On Mon, 23 Sep 2013 22:28:21 -0700
Pravin B Shelar <pshelar@...ira.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.
--
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