summaryrefslogtreecommitdiff
path: root/drivers/pps/clients
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-08-15 23:29:04 +0200
committerIngo Molnar <mingo@kernel.org>2021-08-17 19:05:36 +0200
commitdc7109aaa233d83b573f75763a9f1ae207042a53 (patch)
tree840d93235712730caeffb9567603895b62cac6f7 /drivers/pps/clients
parentc49f7ece4617807c5de06857d196c825aadf60d5 (diff)
downloadlwn-dc7109aaa233d83b573f75763a9f1ae207042a53.tar.gz
lwn-dc7109aaa233d83b573f75763a9f1ae207042a53.zip
futex: Validate waiter correctly in futex_proxy_trylock_atomic()
The loop in futex_requeue() has a sanity check for the waiter, which is missing in futex_proxy_trylock_atomic(). In theory the key2 check is sufficient, but futexes are cursed so add it for completeness and paranoia sake. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210815211305.193767519@linutronix.de
Diffstat (limited to 'drivers/pps/clients')
0 files changed, 0 insertions, 0 deletions