net: annotate lockless accesses to sk->sk_max_ack_backlog
[linux-2.6-block.git] / net / ipv4 / inet_connection_sock.c
index eb30fc1770def741950215f59a4e3ab0f91c6293..e4c6e8b4049063f5239a5e99a185016ad3bb5790 100644 (file)
@@ -716,7 +716,7 @@ static void reqsk_timer_handler(struct timer_list *t)
         * ones are about to clog our table.
         */
        qlen = reqsk_queue_len(queue);
-       if ((qlen << 1) > max(8U, sk_listener->sk_max_ack_backlog)) {
+       if ((qlen << 1) > max(8U, READ_ONCE(sk_listener->sk_max_ack_backlog))) {
                int young = reqsk_queue_len_young(queue) << 1;
 
                while (thresh > 2) {