[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171108102626.195a779e@shemminger-XPS-13-9360>
Date: Wed, 8 Nov 2017 10:27:12 +0900
From: Stephen Hemminger <stephen@...workplumber.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Florian Westphal <fw@...len.de>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/8] rtnetlink: add rtnl_register_module
On Tue, 7 Nov 2017 15:57:36 +0100
Peter Zijlstra <peterz@...radead.org> wrote:
> + link = tab[msgindex];
> + rcu_assign_pointer(tab[msgindex], NULL);
It is not necessary (or useful) to use rcu_assign_pointer with NULL.
The rcu_assign_pointer used to special case NULL but doesn't in recent
years.
Powered by blists - more mailing lists