Re: [PATCH] futex: Prevent robust futex exit race more

From: Thomas Gleixner

Date: Tue Jul 28 2026 - 18:12:10 EST


On Mon, Jul 20 2026 at 23:26, Keno Fischer wrote:

...

patching file kernel/futex/core.c
patch: **** malformed patch at line 69: struct task_struct *curr,

> --- a/kernel/futex/core.c
> +++ b/kernel/futex/core.c
> @@ -982,8 +982,11 @@ static int handle_futex_death(u32 __user *uaddr,
> struct task_struct *curr,

Here and ...

> @@ -992,42 +995,70 @@ static int handle_futex_death(u32 __user *uaddr,
> struct task_struct *curr,

.. here and some other instance.

Seems your mail client mangled the patch. See:

Documentation/process/email-clients.rst

The only known way to send patches with the gmail web client is as
attachment, but that's a pain for reviewing, replying and applying.

But you can use git send-email with gmail smtp and that will do the
right thing.

Thanks,

tglx