[PATCH v3 2/2] net/zxdh: optimize the procedure for NP online uninit
Stephen Hemminger
stephen at networkplumber.org
Tue Feb 3 15:35:48 CET 2026
On Tue, 3 Feb 2026 15:17:29 +0800
Tianhao Zhang <zhang.tianhao2 at zte.com.cn> wrote:
> Remove the NP software resource uninstallation procedure from the NP
> online uninit process. The NP software resource uninstallation should be
> called separately within NP uninit to avoid duplicate resource
> release.
>
> Signed-off-by: Tianhao Zhang <zhang.tianhao2 at zte.com.cn>
> ---
Ok, but slightly confusing commit message; can I reword as.
Move the call to zxdh_np_soft_res_uninstall() out of
zxdh_np_online_uninit() so that software resources are
released once during zxdh_np_uninit() rather than being
freed twice when both paths run.
More information about the dev
mailing list