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 28F53A0093 for ; Thu, 12 May 2022 09:06:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FC5A427F2; Thu, 12 May 2022 09:06:41 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 7F949410EF for ; Thu, 12 May 2022 09:06:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652339197; 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: in-reply-to:in-reply-to:references:references; bh=YcafJlTEEBp2r49t6lFXsZ9bL/tuT0KjjFmQyFczZNk=; b=bNqVgHw1Kopsxl6CMXI0x9GseDFZFeomhUqTKLK0Z96/Pi1Mz3ls1E6tfrTr7RnWM5bjzo 9rEaj+A4ViWsCsCDkZWX9bzEEdXhDAmLl1g7Cx5N22cuAWhdazgS5Sxed3E2RCyBmw69BL KOFm4PBpzXCkuI4CtmLfkijzEUA6mBM= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-257-YWMC8lbiM0CAF7RE0Ejthg-1; Thu, 12 May 2022 03:06:36 -0400 X-MC-Unique: YWMC8lbiM0CAF7RE0Ejthg-1 Received: by mail-lj1-f199.google.com with SMTP id m5-20020a2e8705000000b0024f0fca4516so1296119lji.3 for ; Thu, 12 May 2022 00:06:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YcafJlTEEBp2r49t6lFXsZ9bL/tuT0KjjFmQyFczZNk=; b=kyWW+3+h149iwadS8gRctzO4HvzeGRQiJTP/4HDq6CDQFqx8jYbyCrzIgXyIPCuAN6 eaI4ZCGAP5ItacJmdwD9pGr4d7PvvKOLEbIZes6QJUNoxHMsHtGrmKlBIini/IYmoi2T TjcKicHHyg/hx3Dc+xc0lDv9Kd9TYjl6LpYYHNH3FnQmeq9lPISaJG8zMW94LOm7lW8X gJjusjGlm1xYcwjjbDlrZPkzkxViTgW7QOKfIx4ZPZ4no7g+InEZBGOy9MTE7xwlBBdV PyyT38PpRXjz9iAt3/dnkGXc5NfXdM45RAc/ZsVy6zlefFmIlSBN0igx2Fo25IQa7jQj g4/A== X-Gm-Message-State: AOAM531sb1vhyrFv9tZL//9W5W4uxIxhATv/KNjV9rDlf7k0IB2+pUUq OXk5AClaawZX0Rr2OPHCZcN7NaJ2wV9e/UyXk8Z5W+dy60AQfTIisyAyIJD0ebBFnOMIcuYbuWx 885uvuzT26rvMMLDJaFsYIak= X-Received: by 2002:a05:651c:2046:b0:250:cf36:eb77 with SMTP id t6-20020a05651c204600b00250cf36eb77mr10766241ljo.159.1652339195172; Thu, 12 May 2022 00:06:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTo5B3xXQHzV0lhl3Tpoall2XAJ0UzMtt+sxdryI9ClJNs6oeaAHjfrYjRA+k8V+Xi903oM7nQrCRfPQoD5+I= X-Received: by 2002:a05:651c:2046:b0:250:cf36:eb77 with SMTP id t6-20020a05651c204600b00250cf36eb77mr10766217ljo.159.1652339194885; Thu, 12 May 2022 00:06:34 -0700 (PDT) MIME-Version: 1.0 References: <20220414112756.26119-1-david.marchand@redhat.com> In-Reply-To: <20220414112756.26119-1-david.marchand@redhat.com> From: David Marchand Date: Thu, 12 May 2022 09:06:23 +0200 Message-ID: Subject: Re: [PATCH] devargs: fix leak on hotplug failure To: Xueming Li , Gaetan Rivet Cc: dpdk stable , dev , Ray Kinsella Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Thu, Apr 14, 2022 at 1:28 PM David Marchand wrote: > > Caught by ASan, if a secondary process tried to attach a device with an > incorrect driver name, devargs was leaked. > > Fixes: 64051bb1f144 ("devargs: unify scratch buffer storage") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand Review please? -- David Marchand