[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160208.104621.2282889752696139407.davem@davemloft.net>
Date: Mon, 08 Feb 2016 10:46:21 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: davej@...emonkey.org.uk, netdev@...r.kernel.org
Subject: Re: [PATCH net] ipv6: fix a lockdep splat
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 02 Feb 2016 17:55:01 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> Silence lockdep false positive about rcu_dereference() being
> used in the wrong context.
>
> First one should use rcu_dereference_protected() as we own the spinlock.
>
> Second one should be a normal assignation, as no barrier is needed.
>
> Fixes: 18367681a10bd ("ipv6 flowlabel: Convert np->ipv6_fl_list to RCU.")
> Reported-by: Dave Jones <davej@...emonkey.org.uk>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists