diff options
author | Eric Dumazet <edumazet@google.com> | 2022-05-13 21:55:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-16 12:31:06 +0300 |
commit | 5d368f03280d3678433a7f119efe15dfbbb87bc8 (patch) | |
tree | 1749bbca069fafab9219ea4187c460d12c2c6bc7 /LICENSES/dual | |
parent | ff0094030f146b44eba0da2d3f9dbddaa28ee3c0 (diff) | |
download | linux-5d368f03280d3678433a7f119efe15dfbbb87bc8.tar.xz |
ipv6: add READ_ONCE(sk->sk_bound_dev_if) in INET6_MATCH()
INET6_MATCH() runs without holding a lock on the socket.
We probably need to annotate most reads.
This patch makes INET6_MATCH() an inline function
to ease our changes.
v2: inline function only defined if IS_ENABLED(CONFIG_IPV6)
Change the name to inet6_match(), this is no longer a macro.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'LICENSES/dual')
0 files changed, 0 insertions, 0 deletions