Skip to content
Commit 9d3e4442 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

[SOCK]: Adds a rcu_dereference() in sk_filter

It seems commit fda9ef5d

 introduced a RCU 
protection for sk_filter(), without a rcu_dereference()

Either we need a rcu_dereference(), either a comment should explain why we 
dont need it. I vote for the former.

Signed-off-by: default avatarEric Dumazet <dada1@cosmosbay.com>
Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0f99be0d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment