commit | d69cba5c719b0c551f6380ec5da4ed8c20a3815a | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Sun Aug 15 23:29:15 2021 +0200 |
committer | Ingo Molnar <mingo@kernel.org> | Tue Aug 17 19:05:54 2021 +0200 |
tree | a402dea690a0e99a1cd54746e5f1fc52377e1857 | |
parent | c18eaa3aca43688a3aee199d85ce4227686a29b6 [diff] |
futex: Reorder sanity checks in futex_requeue() No point in allocating memory when the input parameters are bogus. Validate all parameters before proceeding. Suggested-by: Davidlohr Bueso <dave@stgolabs.net> 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.581789253@linutronix.de