From: Thomas Monjalon <thomas@monjalon.net>
To: Gregory Etelson <getelson@nvidia.com>
Cc: dev@dpdk.org, stable@dpdk.org, mkashani@nvidia.com,
rasland@nvidia.com, Dariusz Sosnowski <dsosnowski@nvidia.com>,
Parav Pandit <parav@nvidia.com>, Xueming Li <xuemingl@nvidia.com>,
Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Subject: Re: [PATCH] bus/auxiliary: fix auxiliary device port destruction
Date: Wed, 09 Jul 2025 12:24:33 +0200 [thread overview]
Message-ID: <5064834.aBcLfjPe96@thomas> (raw)
In-Reply-To: <20250707100648.354190-1-getelson@nvidia.com>
07/07/2025 12:06, Gregory Etelson:
> DPDK auxiliary bus first creates a list of known devices in the
> `auxiliary_bus.device_list` and then tries to attach a driver to each
> device on that list.
>
> If the driver attachment has failed, a device will remain on the list.
>
> The device destruction did not validate driver existence and
> crashed.
>
> The patch validates auxiliary device driver before accessing
> driver related resources.
>
> Fixes: 1afce3086cf4 ("bus/auxiliary: introduce auxiliary bus")
> Cc: stable@dpdk.org
>
> Signed-off-by: Gregory Etelson <getelson@nvidia.com>
> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Applied, thanks.
prev parent reply other threads:[~2025-07-09 10:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-07 10:06 Gregory Etelson
2025-07-09 10:24 ` Thomas Monjalon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5064834.aBcLfjPe96@thomas \
--to=thomas@monjalon.net \
--cc=andrew.rybchenko@oktetlabs.ru \
--cc=dev@dpdk.org \
--cc=dsosnowski@nvidia.com \
--cc=getelson@nvidia.com \
--cc=mkashani@nvidia.com \
--cc=parav@nvidia.com \
--cc=rasland@nvidia.com \
--cc=stable@dpdk.org \
--cc=xuemingl@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).