[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKYAXd-wvsibuLMw+nkLX6vD+u_yYsnv+YE3ikMFGXBquU5t-w@mail.gmail.com>
Date: Mon, 28 Oct 2024 08:33:16 +0900
From: Namjae Jeon <linkinjeon@...nel.org>
To: Jinjie Ruan <ruanjinjie@...wei.com>
Cc: sfrench@...ba.org, senozhatsky@...omium.org, tom@...pey.com,
set_pte_at@...look.com, linux-cifs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ksmbd: Fix the missing xa_store error check
On Sat, Oct 26, 2024 at 4:10 PM Jinjie Ruan <ruanjinjie@...wei.com> wrote:
>
> xa_store() can fail, it return xa_err(-EINVAL) if the entry cannot
> be stored in an XArray, or xa_err(-ENOMEM) if memory allocation failed,
> so check error for xa_store() to fix it.
>
> Cc: stable@...r.kernel.org
> Fixes: b685757c7b08 ("ksmbd: Implements sess->rpc_handle_list as xarray")
> Signed-off-by: Jinjie Ruan <ruanjinjie@...wei.com>
Applied it to #ksmbd-for-next-next.
Thanks!
Powered by blists - more mailing lists