]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: use add READ_ONCE() to fetch sk->sk_bound_dev_if
authorEric Dumazet <edumazet@google.com>
Fri, 13 May 2022 18:55:48 +0000 (11:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2022 09:31:06 +0000 (10:31 +0100)
commit23e2cde527e9abdc2ed215df203135e807997a56
tree65668e7cd2edfcc5865a776e9e32fd5ebd148c0f
parenta2e5977ec15d60195267685348f801f6707d0cbd
l2tp: use add READ_ONCE() to fetch sk->sk_bound_dev_if

Use READ_ONCE() in paths not holding the socket lock.

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