From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 250181C5D59; Tue, 24 Feb 2026 01:41:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.29.241.158 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771897280; cv=none; b=Oljq/wV3Kz23KyBcFBuWwKB66JN7ShHdydcRjVJCeinf7Cls6vwAPIC8CyDnah7URK5bYhN90hVN6QBubt/i/Fh+6YGksKDQVRvLC8s2BP5ZpbeXRjeneG9p0ClTiZYmGEuGqoHdX3NaqUidDo7wEqbETjdWgeW1tFcL8r9FkBM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771897280; c=relaxed/simple; bh=oNllo4YAwM9j6FVq1VjCwTXK8dhNnbE9oCe8LZNaw5g=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=mgSHhM6WUXijSyllCCA2ugaBruB7mYN8+4jTAOk1xk3eqoVzRk1COEahtuRfjQw/B7E+1UuxHH2kVw5YAVrWDY8cMhjqI8mp2MQlK8t3ohS0BCzPyfUNn5Th83Bmq6urGkB0FEjXSGfE0DlrRzGBVHUCnTBp5s2PXf7qr3BMvD0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au; spf=pass smtp.mailfrom=codeconstruct.com.au; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b=D0Q+N70w; arc=none smtp.client-ip=203.29.241.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codeconstruct.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codeconstruct.com.au header.i=@codeconstruct.com.au header.b="D0Q+N70w" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1771897271; bh=oNllo4YAwM9j6FVq1VjCwTXK8dhNnbE9oCe8LZNaw5g=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=D0Q+N70wj8swYw9qCGj4v3wqNDoeAwdiw3u5FwLzvOyCk+cGrnnZc/RyujCnYGhtN bSQVCF9LaaGmDKy5gVTgicBcjwH+3bCqmufIZ1/3lECoYKKa2rVc2z1VEabZsFgINE mbHJp9AZXuunLZLjTxqpw2h6385WB99xYP1yhz8OjOMak0C2i0VkKZqw6Nmgvu3s7h Pk0+Q4v1aYzfzvwYNgIwe9t5/DCahJntF8AEoNrIhHaIDc2NUpJeKdwpjR3V004MLv N0S7ekNtnAJuSQkkEEUV/dxVCwh54Ltv/YvMDQTmsm1UoTMf1NAxx8jjUld1lmvRsK kLEX7BFL5sinQ== Received: from [192.168.72.171] (210-10-213-150.per.static-ipl.aapt.com.au [210.10.213.150]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 5C3126015A; Tue, 24 Feb 2026 09:41:11 +0800 (AWST) Message-ID: <51539ac8b47aa0418ce1050ae765329b0d11142b.camel@codeconstruct.com.au> Subject: Re: [PATCH net] net: mctp: usb: properly drop the usb interface on probe error From: Jeremy Kerr To: Greg Kroah-Hartman , netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Matt Johnston , stable Date: Tue, 24 Feb 2026 09:41:11 +0800 In-Reply-To: <2026022319-turbofan-darkened-206d@gregkh> References: <2026022319-turbofan-darkened-206d@gregkh> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2+deb12u1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Greg, > When an error happens in mctp_usb_probe() the reference count on the usb > interface structure needs to be properly dropped as it was incremented > earlier in the function. Looks good, thanks for the fix. Acked-by: Jeremy Kerr Cheers, Jeremy