Article View: linux.kernel.netdev
Article #26198Re: [PATCH] ieee802154: atusb: drop the URB reference after a failed resubmit
From: Stefan Schmidt
Date: Thu, 03 Dec 2026 07:59
Date: Thu, 03 Dec 2026 07:59
20 lines
7952 bytes
7952 bytes
Hello Wentao Liang.
On Wed, 04 Nov 2026 02:14:58 +0000, Wentao Liang wrote:
> usb_get_from_anchor() returns the URB with a reference held by the
> caller. When atusb_submit_rx_urb() fails, that reference is not consumed,
> and re-anchoring the URB takes an additional one. The caller's reference
> is then never dropped.
>
> Release it after putting the URB back on the idle anchor.
>
> [...]
Applied to wpan/wpan.git, thanks!
[1/1] ieee802154: atusb: drop the URB reference after a failed resubmit
https://git.kernel.org/wpan/wpan/c/28fe35febc69
regards,
Stefan Schmidt
Technical Details
Message-ID:
<179628477012.215400.6628154324037488262.b4-ty@datenfreihafen.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376382-linux-kernel-netdev=dewy.ruReferences:
<20261104021458.1468481-1-vulab@iscas.ac.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376382-linux-kernel-netdev=dewy.ru From: stefan@datenfreihafen.org (Stefan Schmidt) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH] ieee802154: atusb: drop the URB reference after a failed resubmit Date: Thu, 3 Dec 2026 08:59:38 +0100 Organization: Usenet Network Message-ID: <179628477012.215400.6628154324037488262.b4-ty@datenfreihafen.org> References: <20261104021458.1468481-1-vulab@iscas.ac.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2429854"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:2QBUfyFbuVudVZCUkQ83rm7i23s= sha256:QgFD8cwR9a3IS65ZIYkknO05lIJwqx4N3LeoGB96/Eo= sha1:HjF+L6qwnzDpWLFdujnABhopLfA= sha256:YJ9zA3UT8pxGkiL8T4h2eF0d65tO6/ntKJVdhEHB0dM= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id E1B6B117873; Thu, 3 Dec 2026 10:59:59 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3p-eHhKXjELP; Thu, 3 Dec 2026 10:59:56 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376382-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=datenfreihafen.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id F28F9117871; Thu, 3 Dec 2026 10:59:52 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 9F69B2567A; Thu, 3 Dec 2026 07:59:50 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796284788; b=AdZ68UDIP6AdOFQn6dJVI0S5zjrgm6r38CD9eSurzKQJ2rJ5xrv09BcH9uqhC/gFpCwx tIK91GesMwm5Vp/2H8MCcWs0IzqIItjBTsS7OXMqaR3qf9bEEd6lfchhYDjvUyaioHq9E RPTL/5z3RqXOAvXpmODdV6OPwHs5sgdp8P7lzkh4oJYKimV3n7y/AVoK2kTqjfZLpdGAy YV/IHD37a2EnACxBUq5x9OtGTnrwIgPnHYQgke4wXbvOCu2uEGTOR+S4P3/4m2O5IA+Km X0z4w+FmguwWu0ggn4aSG1gCTovpR+u/rRTTgZTY5owFVpgM8IbND99PZIwFQbsv2rg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796284788; h=X-Original-To:Received:DMARC-Filter:Received:From:To:Cc:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=swaxO2sgOB6eyey970cqGHgzDdE+0HlgKVMKnh2JaEI=; b=wJRIoAfVoagULYrlr4TDY+/AilAvPTy/c4irNdiKgYL+Oy/rZ2B4gs0Ow/EY2KO3Drfo T63QXPZQXNAxcklfwvJxC0oG+2qxJAtZ5syVVQw/LpU1/79yfSOoTyrI6N70c2ZsKho5A 0vlj8r3DomhXMwTTlSmxJPkIgCUSl7R9E/hhID3ea4YHn+oRhBrIPEEeZAkpXdrK27Iua 6YFUU15BGHKKLV+qXnad0GNSdfb8tLqXUWfdug6bncM5RCB2eFUqdlgvkDoxWSmr1Pd/D AoEtz/67l7f8mffSkqexZMKwiv+MUX53gkp+1Ae9fmx4icMOjLBgNaYEa/SVLZGw4lg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=datenfreihafen.org; spf=pass smtp.mailfrom=datenfreihafen.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 19820606A335; Thu, 3 Dec 2026 07:59:48 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=78.47.171.185 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796284787; b=a/Cs7O12Hn1ATfIms8yyQpVCLAs5ljGdempuYtuNU9Ppql7Y4PeyVuszLqdZ3LSZXH1X lMtAkFM+W70WSoQubcALZVIqPqU5J69ZaXrvMTd6hmLbeY+MXpJyOsBrvAA6FG8cfXp7v 9AdVE1MqUFywSQdy17VBTDuZ/zZC3R+VFDPqXlTkoija8j//xmicpI+c2x+eM9FfpSNF9 DT1b1EqerJdb9X3JsETOcEExlzD9XHSoZnZtPRQL6FdB4U4rgxFsfuOb6sMqyeouUb3CI f5K0BkH7pIGPO9H7Jg6u7lBeUGmr7bW+9ifHQMLAohQ7bTvOm8K6g8fMS0Ac1yHp6qg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796284787; h=DMARC-Filter:Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=swaxO2sgOB6eyey970cqGHgzDdE+0HlgKVMKnh2JaEI=; b=bYqusTCoZ9fepxYQJEXREIyape2+BGMETWNa0HuktID+EnH/8yOndP5zaWOl+7EyF51E 13uEbYfW81IkFg7eIVrspbDAhYdPcuPaobQBWJJk2B3/iQrpav1T5+DOWL8cxbT2mwH32 zdujreL5F66azmg2eatejK8PYvVq3gwq/JSl87/7Q1lue+REtLC75M0a0Xi50ixxCP9ZV 5r37PsupHrEekxefDRnEd0Ignupnk35XqsCoLTcggfXdNf/8ibEykoxnFkZibyWXRdsPj dbNlTMTA4f+Y5e/Y4xFQ9kEnPtndMfSdGansYiUf4+Xp5qaLx6gcTn9GfwytLc+XopQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=datenfreihafen.org; spf=pass smtp.mailfrom=datenfreihafen.org; arc=none smtp.remote-ip=78.47.171.185 X-Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1DE66606A32C; Thu, 3 Dec 2026 07:59:45 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1DE66606A32C X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=datenfreihafen.org X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=datenfreihafen.org X-Received: from work.datenfreihafen.local (unknown [46.253.254.165]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id 28576C07F4; Thu, 3 Dec 2026 08:59:43 +0100 (CET) X-Cc: Stefan Schmidt <stefan@datenfreihafen.org>, linux-wpan@vger.kernel.org, netdev@vger.kernel.org X-Mailer: git-send-email 2.56.1 X-In-Reply-To: <20261104021458.1468481-1-vulab@iscas.ac.cn> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list