]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/ipv4/udp.c
Merge branch 'for-5.5/whiskers' into for-linus
[linux.git] / net / ipv4 / udp.c
index d1ed160af202c054839387201abd3f13b55d00e9..1d58ce829dcae476a7a32a6ab5fa8bb91ec8ae67 100644 (file)
@@ -388,7 +388,7 @@ static int compute_score(struct sock *sk, struct net *net,
                return -1;
        score += 4;
 
-       if (sk->sk_incoming_cpu == raw_smp_processor_id())
+       if (READ_ONCE(sk->sk_incoming_cpu) == raw_smp_processor_id())
                score++;
        return score;
 }