Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp943375ybh; Wed, 22 Jul 2020 18:03:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKK0lvIPGK6CNxuSUq+oQIbLtUd/yFJqsyW8mY8z1dMF6K/+FqlQATavseQcXCmFkofVPx X-Received: by 2002:a17:906:1db1:: with SMTP id u17mr2066854ejh.72.1595466209511; Wed, 22 Jul 2020 18:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595466209; cv=none; d=google.com; s=arc-20160816; b=J0CZc7bJQzN/Lc+gT357vBWz1yWXzIUgXfC7tNuAqYRIpahenS8cgugQPjdfdM3fa1 Kl8dsueWgDOnb13kzjkhT3eS7SMPcSgOCIajPUE8moLh78chUN7eDyqASqocABKxe/3V xX160VHxu5Vehx2RW4VHN+9GLNLs4gpNfcVvDyqfkZzdBHD3opYVHqrafBX+2o0zJLvW 9e0yPZ/hPxbzv3lNEV9ZG1dYUrAMUqXGVn+UEsyFVnFjYfcZj8lOhX+TtHVaJfUTXhFv F2ocj2AMtFmXeznrf34oqeJyqH3fKAINUGidqzUd5MDKz/0nWTho0F29zg+1whEpuJhe 4Xuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=9p1IODASX+/DlW1oL4NqD7+lZjKQF0u76HTFzGB9JZk=; b=J37ubvtATlpQdwzN7WYY9CnDep6HuBr3uk3js0qoLeClT2UbuxiLEtvBfa56dCUljn p/yFGo+fLygyaegrjMifeLzFxTaiybAscH7I2fjyjtvsGy8mlLO0+A1RP9dG4P2md56E iJRxqXdg2CD8nQm0yVTz5Csa0ObXTnZQ+IpQOc0+NDKyGE91eiiPzdXvbMoPISSOlenW SRLECytVxSc5jnVYRTgGRWOnI4Xg/OzZqNickW6Rlmzc4D0Fpy/k1cnpo2yEvVhIq+we VriF8PaXDXmwKzqFVFs3pB4mP3mBd8137d3eRg/UCtuHZUZZCo3ixtU8+0kMrM7eyd6E TBDQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i20si368152ejh.394.2020.07.22.18.03.07; Wed, 22 Jul 2020 18:03:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733191AbgGWBA5 (ORCPT + 99 others); Wed, 22 Jul 2020 21:00:57 -0400 Received: from netrider.rowland.org ([192.131.102.5]:33053 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1728607AbgGWBA4 (ORCPT ); Wed, 22 Jul 2020 21:00:56 -0400 Received: (qmail 1334189 invoked by uid 1000); 22 Jul 2020 21:00:55 -0400 Date: Wed, 22 Jul 2020 21:00:55 -0400 From: Alan Stern To: Evgeny Novikov 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" Subject: Re: [PATCH] usb: gadget: net2280: fix memory leak on probe error handling paths Message-ID: <20200723010055.GA1333715@rowland.harvard.edu> References: <20200721201558.20069-1-novikov@ispras.ru> <20200722141741.GA1310843@rowland.harvard.edu> <2097231595446720@mail.yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2097231595446720@mail.yandex.ru> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > 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