diff options
author | Thomas Gleixner <[email protected]> | 2021-08-15 23:29:04 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-08-17 19:05:36 +0200 |
commit | dc7109aaa233d83b573f75763a9f1ae207042a53 (patch) | |
tree | 840d93235712730caeffb9567603895b62cac6f7 /net/lapb/lapb_subr.c | |
parent | c49f7ece4617807c5de06857d196c825aadf60d5 (diff) |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions