Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1161112ybh; Thu, 23 Jul 2020 01:52:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCOwx4AEf7E6EfVWLvV74a8Nc7L9YABAgX0S4k7ZBynjDCOUqVUIWuGIkLsgAVznPEhMnj X-Received: by 2002:a50:a863:: with SMTP id j90mr2336987edc.179.1595494370876; Thu, 23 Jul 2020 01:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595494370; cv=none; d=google.com; s=arc-20160816; b=fYeYcpP1s+BQRvFctOhSMPDsrlez68Bm/AYvkEmVIa9HaaBd50SwJYQ6cao8j97/he NMXSTEzfLbY2/TitDzL6i510czDxZLm1jDULGArkurF66irRnC5/0Bon8bOs5+c3C3kh 0DP8bNIW69S/teHZL9nsbL4X13Y0aE5BKQpL7+2XpcxNK7Mjjla++635z7R4o3RytbOY QHxa0639yBCF4yStZTShtIBU20hjDGrAMmhtQx6rSULxdTwoawfZnoPhiUK+j+T064CT j3G/4eag7SDOFA5z4sYND/33y/y1sQMhIdF/c2lUbdStbcvdZWn/evqbUayPnX0JlsQI 8l+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id:date :mime-version:subject:references:in-reply-to:cc:to:envelope-from :from:dkim-signature; bh=A7Ht5k3cZ3wxccJoqj/PU6v+iHZnZU4ly3x7oHqkv+M=; b=qsvdBmaTSygucjgp3sUoxYhtjw3fAWGlfOe+yHxzVBJyUc+XDnY7rnbR6FxYm6462q lX2/fDGXzF75oqdxyHTmab1FfdwAs17bvX04I1sxvJqHq6eCqoxQmJ/ryfZCIXqYVNpB qyDeyDzErRRtu8GUzqmq3ChXBJN+KWGdGxyGpjvaQAltQY4H+RQgJLqoXApQQdiPhELr TSx49I68fzdDbEKiURGJT+7YuoSlMlkD3i6hVFqLKfQetTKa8X1hieosTRWCZepo9sCR 3WRitgFKP8zO9eiJsnz27CbTRorpGCHJmQH5kicdv0u8GTfQHTiaTBld63cGOiBZmEf6 NnCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=NB+kAbK8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ispras.ru Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s3si1539093edy.157.2020.07.23.01.52.28; Thu, 23 Jul 2020 01:52:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=NB+kAbK8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ispras.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727964AbgGWIwC (ORCPT + 99 others); Thu, 23 Jul 2020 04:52:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727932AbgGWIv7 (ORCPT ); Thu, 23 Jul 2020 04:51:59 -0400 X-Greylist: delayed 60 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 23 Jul 2020 01:51:59 PDT Received: from forward500p.mail.yandex.net (forward500p.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64DE7C0619DC; Thu, 23 Jul 2020 01:51:59 -0700 (PDT) Received: from mxback19g.mail.yandex.net (mxback19g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:319]) by forward500p.mail.yandex.net (Yandex) with ESMTP id 4A68D94066C; Thu, 23 Jul 2020 11:50:54 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback19g.mail.yandex.net (mxback/Yandex) with ESMTP id IXTuY98NkU-orkGSgG9; Thu, 23 Jul 2020 11:50:53 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1595494253; bh=A7Ht5k3cZ3wxccJoqj/PU6v+iHZnZU4ly3x7oHqkv+M=; h=Message-Id:Cc:Subject:In-Reply-To:Date:References:To:From; b=NB+kAbK8jL51yG7iUfuCj2Km7Zr9+LcusXRNK1dx6omRfimbwO8NdQl1IptD3dwCC HiUOnyZVRpobUx/AtjcxiI86QvD276nv8UCtjC4xgy99lLvrNjdG0f6ZUqwZippBOZ 3z/91RLD368Aw6Quastv1Wdkwy++U7jLCSe+sSLI= Authentication-Results: mxback19g.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt6-7b46a58f2373.qloud-c.yandex.net with HTTP; Thu, 23 Jul 2020 11:50:52 +0300 From: Evgeny Novikov Envelope-From: eugenenovikov@yandex.ru To: Alan Stern Cc: Felipe Balbi , Greg Kroah-Hartman , Benjamin Herrenschmidt , Kees Cook , Arnd Bergmann , Corentin Labbe , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "ldv-project@linuxtesting.org" In-Reply-To: <20200723010055.GA1333715@rowland.harvard.edu> References: <20200721201558.20069-1-novikov@ispras.ru> <20200722141741.GA1310843@rowland.harvard.edu> <2097231595446720@mail.yandex.ru> <20200723010055.GA1333715@rowland.harvard.edu> Subject: Re: [PATCH] usb: gadget: net2280: fix memory leak on probe error handling paths MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 23 Jul 2020 11:50:52 +0300 Message-Id: <1903061595494082@mail.yandex.ru> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 23.07.2020, 04:00, "Alan Stern" : > On Wed, Jul 22, 2020 at 10:56:09PM +0300, Evgeny Novikov wrote: >>  Hi Alan, >> >>  I have neither an appropriate hardware nor an experience to deal with >>  issues that you mentioned. Our framework does not allow to detect them >>  as well at the moment. At last, it seems that rather many drivers can >>  suffer from these issues. So, it would be much better if somebody else >>  will suggest necessary fixes and test them carefully. > > Heh... Working from home, I no longer have access to the appropriate > hardware either. But at least I do have the necessary experience. :-) > >>  BTW, you have already discussed the race within net2280_remove() with >>  my colleague about 3 years ago. But you did not achieve a consensus at >>  that time and no fixes were made after all. > > I don't recall that. Do you have a pointer to the email thread in the > archives? https://lkml.org/lkml/2017/8/16/345 - this is the top message of that thread. Evgeny >>  Anyway, one can consider both issues independently on the one fixed by >>  the patch. > > Yes. I'll write and submit a series of patches. > > Alan Stern