From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7AE684269E; Mon, 2 Oct 2023 10:34:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED0B440284; Mon, 2 Oct 2023 10:34:28 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 1A55B4003C for ; Mon, 2 Oct 2023 10:34:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1696235666; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G/WCoKIKtTKHPD2q+Lc7psXM+Ml4erMXDqOSwhC5gUo=; b=SAibwQCZaSIobZ9J6bIbvr5KZ9Dzgbntj+DUe1J2TlW+zVnGIXliHOxDDfkI25wr1rfcNs ekpLVfopTGkkVKH2Wm99bAiG0d68IDg/bhkcz3IQj2RQ6sA82zO2UexBePPsl5AWEvrrZK ra6Un3DjlH3yRwLo+EqpGJmR8EFCa9o= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-14-xgexd5RGP2KB5EtaQCaq6g-1; Mon, 02 Oct 2023 04:34:18 -0400 X-MC-Unique: xgexd5RGP2KB5EtaQCaq6g-1 Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2bff8e92054so223783381fa.2 for ; Mon, 02 Oct 2023 01:34:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696235657; x=1696840457; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G/WCoKIKtTKHPD2q+Lc7psXM+Ml4erMXDqOSwhC5gUo=; b=BiHn1a7TV8HtNgl3Wplv4CtAH3zlHb2ChvPsJqXfdX0bqGQy+A0ha+3huoG39q4VR8 DAwqxULko6TkjmPp/O4SPuBKfyDOfjiBGU/KyIIsYRAIAd5NNOfMRYHQrwPzuCXgQUK5 IiU5oyzhhQHaIWmJDwRCg1xnB/W6uw775HZI3dnRK3exWVCgp9MBoaKOceRF1Z1YloXg wQvrfJcO4XqwFmyvSuvwPDXzj/9DJg020MrNGMiNz4pCfXE/6PHq4HHapBN0b9XxQZKU 5X7Bt4IzqWa09HprAX10HEx7RrRQsSTNTg+MvPeot/rbjlKI2ud4tu5hZCpScvqiWGOX yLvQ== X-Gm-Message-State: AOJu0Yx1bckkUA/MjvDBIxSd23IujTD+XQawQRcJRxCnVziYzHp+l90G oemIlyyhgdhNvXOK4Oom4sVmEdMnlR8+f7Kp24qallm0oZ3AgEhHC5nrATiw6af5lW0xjvoBQl5 WUPg2aXsmN4mJgJ1MaM/3Luc49bA= X-Received: by 2002:a2e:93d7:0:b0:2b9:4413:864e with SMTP id p23-20020a2e93d7000000b002b94413864emr8205001ljh.53.1696235656941; Mon, 02 Oct 2023 01:34:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE6C2QdycxrJCS/SDOiBsU9mUsmqs636+wSh31vSj7ll9lypbpwc956IZhtrgFcqcQRvRqRHXOIOqKzzLBb5eg= X-Received: by 2002:a2e:93d7:0:b0:2b9:4413:864e with SMTP id p23-20020a2e93d7000000b002b94413864emr8204991ljh.53.1696235656652; Mon, 02 Oct 2023 01:34:16 -0700 (PDT) MIME-Version: 1.0 References: <20230824105225.822297-1-tduszynski@marvell.com> In-Reply-To: <20230824105225.822297-1-tduszynski@marvell.com> From: David Marchand Date: Mon, 2 Oct 2023 10:34:05 +0200 Message-ID: Subject: Re: [PATCH] bus/platform: fix use after free To: Tomasz Duszynski Cc: dev@dpdk.org, jerinj@marvell.com, thomas@monjalon.net X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Aug 24, 2023 at 12:52=E2=80=AFPM Tomasz Duszynski wrote: > > Remove device from the list before doing actual cleanup to avoid use > after free. > > Bugzilla ID: 1276 > Fixes: 17c839f74da3 ("bus: add platform bus") > > Signed-off-by: Tomasz Duszynski Applied, thanks. --=20 David Marchand