From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 05DC036A003 for ; Mon, 9 Mar 2026 20:26:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773087967; cv=none; b=a+FpKyXnQD2MJwAmafLdZzEen/W5k65R82xDwnRRMehCFItQLC4n5pOEDEgxSEbmBIhWwgHjrckSLPk+ZR6vFu6HyyGMpihVS+yB4LUZquqskiH12hNU28EokHlZNRv9wcKii0Ky7+2hWdC2Pnv/OJG1PPj/hYMmgJNq9QAIyAQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773087967; c=relaxed/simple; bh=RnPeebRGydyE+/0A5BpxmKqsJLfKjsowTx8rzyAeHJY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=o688YEgOOZIWa2VfN/2WuFq33HWiw1dLmWh+vKSsunKYjF6qOw/NSDIPxBzL0bT6YO+aTXGxbZOd8sYcAbzyw5ZBCHp31vsJUj975jDYZPCz37XhidXZMq2nZXC/R1AEj8KagbwAkpIEKVg7RucGDJvIZKfuVJlJIm6j/7wWHNg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Y0+vU0aS; arc=none smtp.client-ip=209.85.160.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Y0+vU0aS" Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-41708f6c3feso1347082fac.3 for ; Mon, 09 Mar 2026 13:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1773087965; x=1773692765; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=bIVaMagKSk0xMjgzF3P13CDm/3q/Nec/XRagkn/drZs=; b=Y0+vU0aSHZ/PjUvNMpZfjJgZV52XhQM8s4UMHudCeYQeua/Tp8rkRa2YhCWxKeNfJC k5sw/uIcF2xN3EryunrZNOAdiW85KpRU/no8wyOjTa9+g+VF0KLwqOkMycSVbl5ch8A3 cQZEEkgjsF4S2y4n3n2ZFIGh5hWJ35Inlgs5U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773087965; x=1773692765; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bIVaMagKSk0xMjgzF3P13CDm/3q/Nec/XRagkn/drZs=; b=rP4084N+qa7y6C9qcx73ya9NvhvPbnGhZgYbRjjtHmKxIHGhZw/knF/NP+XdjPHMf6 DiusMkQxvRNDIxVcvFCSnUnaTJ9L5YRz2bwndzlbk4r0ezQpmhwOF7zvLozBUEoPTbpa FBYpapG7CplWEvOBemiUgYpupP2eDECZLDoRSUiPSfsyhCS9FGEWF+k/ETg4rsjrEdco 9GxP3rlHxn8GHl/K+QnwwOD4QF+nPdrYLgVMrHzZTKLynxFcasESudU26NILBRthrC1j h759FZWQlZz9SfQfJbnGanjy6QJOp1dObY/1nQdTDFg5V6wUB5lUTsqusq15zdkfCnUC /12Q== X-Forwarded-Encrypted: i=1; AJvYcCVuToeqC2gIOVsC7oShSCgQT6FNJ/P+kH9vMYJmpCinvi6pbHyHyO+2YtweavL44eQw6CMXAvyb8laigBE=@vger.kernel.org X-Gm-Message-State: AOJu0YyWHPfoxxKZipMGTLvK4ETXQnFRwT5M+O3cMKzrueXnbMJs0oAY av5rttmSJYe8g8BsHIx2BdTx+2cSKh0/frTQ0mku50D5pAvQF2/x4maJPfquhiqgFlc= X-Gm-Gg: ATEYQzxy8qR04LcNbunmN/LwLhWt/Bn07Wt3k7qOoofFADCDZ7Uh5ajDJCCIBsb2Ces ydOGaNNhliQkTpTgBYhgE76jsoVbuzfnKOIjLK/IodWaJ1WWQ0AgAda+Ir6+SLqu9M7xDCHlIxE GCUp6GQby7PIvumcEvCMlT5SlRH7p1nR2PCEVX33wZKah9ZbwMhChSIxpsKXdO6INeh6soA/sDR CYk1x4QkXwQfTLogUsiCVFChus7fm6j91fk3iaHUVxnXEcCIiC9Jtqc1BTkj1GvNIZEzkUiuzrl 0ru8OI/+nJGfNu7u7js30RsWKjKZS3+RSqrIJIfCeLeHrUbTM72Z+paGGEVBjNo7GUBGTeCpl6u VMBvccpF2com6wo+p53zt3q/+8Mp0+x9Pdrjj2DV6wRNrZAYhyOe8q2rQAfV7JAMLcIQIfopETA bIw2CxYrUYt/l2V0vL76Q5ldsW2MJprx0d58I= X-Received: by 2002:a05:6870:c2a2:b0:417:4693:ca0 with SMTP id 586e51a60fabf-41746930dd3mr1444673fac.14.1773087964941; Mon, 09 Mar 2026 13:26:04 -0700 (PDT) Received: from [192.168.1.14] ([38.175.187.108]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-41756dba30esm536853fac.15.2026.03.09.13.26.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Mar 2026 13:26:04 -0700 (PDT) Message-ID: <9d727cd2-701e-4c5b-9646-82874f2d0a4a@linuxfoundation.org> Date: Mon, 9 Mar 2026 14:26:03 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] USB: usbip: drop redundant device reference To: Johan Hovold , Greg Kroah-Hartman Cc: Bastien Nocera , Valentina Manea , Shuah Khan , Hongren Zheng , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20260305133851.2952-1-johan@kernel.org> <20260305133851.2952-3-johan@kernel.org> Content-Language: en-US From: Shuah Khan In-Reply-To: <20260305133851.2952-3-johan@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/5/26 06:38, Johan Hovold wrote: > Driver core holds a reference to the USB device while it is bound to a > driver and there is no need to take additional references unless the > structure is needed after disconnect. > In this case it is necessary for stub driver to hang on to the reference to maintain exported device status. thanks, -- Shuah