[EXTERNAL] Re: [PATCH v9 0/1] net/mana: add device reset support

Wei Hu weh at microsoft.com
Tue Jun 16 10:11:50 CEST 2026


> -----Original Message-----
> From: Stephen Hemminger <stephen at networkplumber.org>
> Sent: Tuesday, June 16, 2026 2:50 AM
> To: Wei Hu <weh at linux.microsoft.com>
> Cc: dev at dpdk.org; Long Li <longli at microsoft.com>; Wei Hu
> <weh at microsoft.com>
> Subject: [EXTERNAL] Re: [PATCH v9 0/1] net/mana: add device reset support
> 
> 
> One small thing in mp.c: in the RESET_EXIT secondary handler the received fd is
> only closed on the branch that maps it. If proc_priv->db_page is already non-
> NULL the fd from the message is leaked. Close it whenever num_fds >= 1,
> outside the if/else.
> ---
> I can merge it as is, or you can send a revision to close that minor leak.

I will send a revision to close this leak. Thanks Stephen!

Wei


More information about the dev mailing list