Re: [PATCH] RDMA/mlx4: Use the right list member in push_deleteing_req()

From: Leon Romanovsky

Date: Mon Nov 16 2026 - 08:11:49 EST



On Sun, 15 Nov 2026 16:02:26 +0800, Ziheng Wei wrote:
> push_deleteing_req() looks up the last pending request from
> group->func[slave].pending, but recovers the enclosing struct with the
> group_list member instead of func_list.
>
> A struct mcast_req is queued on two lists at once by queue_req():
> group_list links it into group->pending_list and func_list links it
> into group->func[].pending. The two list_head members are adjacent but
> not at the same offset, so list_entry() on a node taken from
> func[].pending yields a pointer 16 bytes past the start of the object.
>
> [...]

Applied, thanks!

[1/1] RDMA/mlx4: Use the right list member in push_deleteing_req()
https://git.kernel.org/rdma/rdma/c/a4b6f10a540392

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>