inet: add READ_ONCE(sk->sk_bound_dev_if) in inet_csk_bind_conflict()
authorEric Dumazet <edumazet@google.com>
Fri, 13 May 2022 18:55:46 +0000 (11:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2022 09:31:06 +0000 (10:31 +0100)
commitd2c135619cb89d1d5693df81ab408c5e8e97e898
treeaa5673c259a1827e154c03c87e08d9748079d463
parent36f7cec4f3af352d7f2c646461afba4cf7fd77b0
inet: add READ_ONCE(sk->sk_bound_dev_if) in inet_csk_bind_conflict()

inet_csk_bind_conflict() can access sk->sk_bound_dev_if for
unlocked sockets.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_connection_sock.c