diff options
author | 2023-08-16 08:15:33 +0000 | |
---|---|---|
committer | 2023-08-16 11:09:16 +0100 | |
commit | c274af2242693f59f00851b3660a21b10bcd76cc (patch) | |
tree | 9e6dff9911b9a0fd9b26f973ea89217f5ca29da0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'redundant-of_match_ptr' (diff) | |
download | wireguard-linux-c274af2242693f59f00851b3660a21b10bcd76cc.tar.xz wireguard-linux-c274af2242693f59f00851b3660a21b10bcd76cc.zip |
inet: introduce inet->inet_flags
Various inet fields are currently racy.
do_ip_setsockopt() and do_ip_getsockopt() are mostly holding
the socket lock, but some (fast) paths do not.
Use a new inet->inet_flags to hold atomic bits in the series.
Remove inet->cmsg_flags, and use instead 9 bits from inet_flags.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions