aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-generate-rtl-pass.h
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-02-14 08:48:28 +0000
committerGreg Kroah-Hartman <[email protected]>2024-02-17 16:20:41 +0100
commit2444a80c1cc2c4240f60f2162abef3797c1803de (patch)
tree2a977ffce3acb403fba8704d50edacb7681dcf3e /scripts/gcc-plugins/gcc-generate-rtl-pass.h
parent5df9197edd731a44682444631d68c2384f381bf1 (diff)
kobject: make uevent_seqnum atomic
We will soon no longer acquire uevent_sock_mutex for most kobject_uevent_net_broadcast() calls, and also while calling uevent_net_broadcast(). Make uevent_seqnum an atomic64_t to get its own protection. This fixes a race while reading /sys/kernel/uevent_seqnum. Signed-off-by: Eric Dumazet <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Christian Brauner <[email protected]> Reviewed-by: Christian Brauner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions