On Sat, Oct 26, 2024 at 4:10 PM Jinjie Ruan <ruanjinjie@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx > Fixes: b685757c7b08 ("ksmbd: Implements sess->rpc_handle_list as xarray") > Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx> Applied it to #ksmbd-for-next-next. Thanks!