Subject: Re: [PATCH iwl-next] ice: fix allocating excessive memory in ice_create_lag_recipe()

From: Simon Horman <[email-masked]>
Date: Fri, 20 Mar 2026 19:28:06 +0000

On Fri, Mar 20, 2026 at 06:05:29AM +0100, Aleksandr Loktionov wrote:
> From: Marcin Szycik <[email-masked]>
> 
> For some reason ice_create_lag_recipe() allocates an array of 64
> struct ice_aqc_recipe_data_elem elements, while it only needs one (1).
> Fix it, while also using kzalloc_obj().
> 
> Fixes: 1e0f9881ef79 ("ice: Flesh out implementation of support for SRIOV on bonded interface")
> Signed-off-by: Marcin Szycik <[email-masked]>
> Signed-off-by: Aleksandr Loktionov <[email-masked]>

This doesn't seem to be a bug.

So think we can drop the fixes tag.  And, it might be best to drop the
"fix" language from the subject and commit message.