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 66C77A0503 for ; Thu, 19 May 2022 18:22:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 55B6F40156; Thu, 19 May 2022 18:22:13 +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 2429942B6E for ; Thu, 19 May 2022 18:22:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652977330; 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=knYvImWvt9JtGYq3e0ZTqMGgLVl2jeL9kpXzNWKmPdI=; b=FOeteCbHNFJj2RWaRE33GG4D/HZx9P5j6SYXK2nj1MFwCfhna3r7iq/FZ3anBtggBCivSY FU+s/qGLTtXCDubPnE7tswOhcgA7HiI6j+MTzt2WRGWJzjiETQTxaioiQbJbPTDIDyfR9R xqoCIg2UymcNMP3OSVP98F39bHEk2hU= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-3-HAPVepTSOcOFfG7ZWdhyiA-1; Thu, 19 May 2022 12:22:04 -0400 X-MC-Unique: HAPVepTSOcOFfG7ZWdhyiA-1 Received: by mail-lf1-f72.google.com with SMTP id u13-20020a05651206cd00b00477c7503103so1288569lff.15 for ; Thu, 19 May 2022 09:22:04 -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=knYvImWvt9JtGYq3e0ZTqMGgLVl2jeL9kpXzNWKmPdI=; b=PElRNntm5lHowXYGXicMnBNIOu5abw8EI/RLH+lfkT6zV69Q7RGy3e9DSkJ4grt3iK Y3eFNJ47a4zVOt44Zgi4X9I9EWWYNplnRxwzRYhhUpPoJse8ONEsWcYaKmAALZ7OWAwX 3RcwgJi/9sEp//5jyq6z4pLqUYVfANFUw6n4UVXor5MFYnxU9hIaK63v95caecIJxDOU BonDmuw9HzHmY9EG4wDu/OoOZHVdWQUDHGjdOYqb0UNumKRfPb/no8LiqOpd26aa8DKv 18o9zD+F1UBp04QrpqBzWFdAUTPVeT9vVRo9KRLTRcmkbeLiBBkS75XNi14utbarBftu tDnw== X-Gm-Message-State: AOAM531YILGroc16nwLLV/QMVgEe3QtibFbOmH9M6nWAfzsMBk2sE+V4 wpmW1SZV5o5m8lzPr+xN7TOd44K57HsBDOv+EYulItjlfXdhQLpp6JOwMirfoRduspAFKbhrIci awUDc0GQjHtSzyDmQqSbikRU= X-Received: by 2002:ac2:5a19:0:b0:477:c124:41fe with SMTP id q25-20020ac25a19000000b00477c12441femr3783339lfn.553.1652977323237; Thu, 19 May 2022 09:22:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfQoC06NCuEwb6obel4W6tJ7l35Fa+RsPpx6Y5jTMBucSrQknjbyfduk5TezR2q/XhItJch75X0RFSPv9peBc= X-Received: by 2002:ac2:5a19:0:b0:477:c124:41fe with SMTP id q25-20020ac25a19000000b00477c12441femr3783320lfn.553.1652977322933; Thu, 19 May 2022 09:22:02 -0700 (PDT) MIME-Version: 1.0 References: <20220414112756.26119-1-david.marchand@redhat.com> In-Reply-To: From: David Marchand Date: Thu, 19 May 2022 18:21:51 +0200 Message-ID: Subject: Re: [PATCH] devargs: fix leak on hotplug failure To: Xueming Li , Gaetan Rivet Cc: dpdk stable , dev , Ray Kinsella , Thomas Monjalon 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, May 12, 2022 at 9:06 AM David Marchand wrote: > 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? No objection, the fix has been around for one month. Applied. -- David Marchand