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

tcp: sk->sk_bound_dev_if once in inet_request_bound_dev_if()



inet_request_bound_dev_if() reads sk->sk_bound_dev_if twice
while listener socket is not locked.

Another cpu could change this field under us.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a20ea298
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment