Re: [PATCH v2 04/28] binder: fix async space check for 0-sized buffers
From: Carlos Llamas
Date: Fri Jan 19 2024 - 12:11:39 EST
On Fri, Jan 19, 2024 at 06:48:53AM +0100, Greg Kroah-Hartman wrote:
> On Thu, Jan 18, 2024 at 07:32:08PM +0000, Carlos Llamas wrote:
> > On Fri, Dec 01, 2023 at 05:21:33PM +0000, Carlos Llamas wrote:
> > > Move the padding of 0-sized buffers to an earlier stage to account for
> > > this round up during the alloc->free_async_space check.
> > >
> > > Fixes: 74310e06be4d ("android: binder: Move buffer out of area shared with user space")
> > > Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
> > > Signed-off-by: Carlos Llamas <cmllamas@xxxxxxxxxx>
> > > ---
> >
> > Sorry, I forgot to Cc: stable@xxxxxxxxxxxxxxx.
>
>
> <formletter>
>
> This is not the correct way to submit patches for inclusion in the
> stable kernel tree. Please read:
> https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
> for how to do this properly.
>
> </formletter>
Oops, here is the complete info:
Commit ID: 3091c21d3e9322428691ce0b7a0cfa9c0b239eeb
Subject: "binder: fix async space check for 0-sized buffers"
Reason: Fixes an incorrect calculation of available space.
Versions: v4.19+
Thanks,
--
Carlos Llamas