diff options
author | Eric Dumazet <edumazet@google.com> | 2016-02-02 17:55:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-08 10:33:32 -0500 |
commit | 44c3d0c1c0a880354e9de5d94175742e2c7c9683 (patch) | |
tree | 53df14135bda97eebaa0e303e0d1e3a3b59973a3 /net/ipv6/udp_offload.c | |
parent | 415e3d3e90ce9e18727e8843ae343eda5a58fad6 (diff) | |
download | linux-44c3d0c1c0a880354e9de5d94175742e2c7c9683.tar.bz2 |
ipv6: fix a lockdep splat
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@codemonkey.org.uk>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udp_offload.c')
0 files changed, 0 insertions, 0 deletions