Re: [PATCH net] net: wwan: iosm: Fix memory leak in ipc_mux_deinit()

From: Markus Elfring

Date: Tue Dec 30 2025 - 04:15:14 EST



> +++ b/drivers/net/wwan/iosm/iosm_ipc_mux.c
> @@ -456,6 +456,7 @@ void ipc_mux_deinit(struct iosm_mux *ipc_mux)
> struct sk_buff_head *free_list;
> union mux_msg mux_msg;
> struct sk_buff *skb;
> + int i;


May this variable be defined in the loop header instead?

Regards,
Markus