Re: [PATCH net] ipv6: fix a lockdep splat

2016-02-08 Thread David Miller
From: Eric Dumazet Date: Tue, 02 Feb 2016 17:55:01 -0800 > From: Eric Dumazet > > 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 assignatio

Re: [PATCH net] ipv6: fix a lockdep splat

2016-02-03 Thread Hannes Frederic Sowa
On 03.02.2016 02:55, Eric Dumazet wrote: From: Eric Dumazet 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.

[PATCH net] ipv6: fix a lockdep splat

2016-02-02 Thread Eric Dumazet
From: Eric Dumazet 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