From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 ED3B2285CA8; Fri, 3 Apr 2026 22:40:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775256025; cv=none; b=dPlWZ/oIjuxP943YAxAZqADvWHyVOTSJsnnxDelViM2UME67CoePTZ6Tc3fc3QLh6j4ZMYtWaegX6R6GdEstq8TvWhSm7lELJlEjtmJKc0rtFPjHQE5i+VxNM6nTnXXIPhy8yA72qjIzEnlbBQWtXonVVQgCFXla0AMHsdwFNeU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775256025; c=relaxed/simple; bh=uUOoAM0NBXbgJWjawmh5JOp+e0LvFkSpy4qwPhquyJ4=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=dUTBgopuu8vxgtwmb4u2uy6Qeq+xEyxtFpePnPSC2WCNxpWpGflITLPhMDLg/hKCmAZwenzfl+HxAeteuMaRougwx3Gt0kf5zFmuHywuXzmVR2kAaL2himY27SWmBitbycZauQGWYEsZmZEiLQG53iNWkrORoot8wBDo+HETSu0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZkRzQi+j; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZkRzQi+j" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F3BEC19423; Fri, 3 Apr 2026 22:40:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775256024; bh=uUOoAM0NBXbgJWjawmh5JOp+e0LvFkSpy4qwPhquyJ4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=ZkRzQi+jx1ZpzHHIHeKe8m3H+sCGCbvTWX3I6PvdmXu5sllX2rXzaM96wRtF26npd dqPkjSUCWU3iWjuCFV17zNQViOJ5/IPaQzVNrbY3QUK0lgVZ5NwiYt2fQV+AJg039C lu4Zu4lW/lWAuRX/UEnErshGW2sNAryXStYpZWX2t611T/9oMe3ibIUxDOPVW9XAm+ Fv8QIsCI8wT8fA4VkudAhigQaiZ0ejVoqx5OGe46miWouFvxF9GIckQx+yXUduzYXo kPujNvKT0FlDAPRiHCNbJX/3fJXtKBDY0kgwr3Gf8tb12uAnRiccNZmWpeehFz5y/v LXJmhO0twpQGw== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3FD253809A14; Fri, 3 Apr 2026 22:40:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: qualcomm: qca_uart: report the consumed byte on RX skb allocation failure From: patchwork-bot+netdevbpf@kernel.org Message-Id: <177525600579.1477337.14609521436581786813.git-patchwork-notify@kernel.org> Date: Fri, 03 Apr 2026 22:40:05 +0000 References: <20260402071207.4036-1-pengpeng@iscas.ac.cn> In-Reply-To: <20260402071207.4036-1-pengpeng@iscas.ac.cn> To: Pengpeng Hou Cc: wahrenst@gmx.net, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Thu, 2 Apr 2026 15:12:07 +0800 you wrote: > qca_tty_receive() consumes each input byte before checking whether a > completed frame needs a fresh receive skb. When the current byte completes > a frame, the driver delivers that frame and then allocates a new skb for > the next one. > > If that allocation fails, the current code returns i even though data[i] > has already been consumed and may already have completed the delivered > frame. Since serdev interprets the return value as the number of accepted > bytes, this under-reports progress by one byte and can replay the final > byte of the completed frame into a fresh parser state on the next call. > > [...] Here is the summary with links: - net: qualcomm: qca_uart: report the consumed byte on RX skb allocation failure https://git.kernel.org/netdev/net/c/b76254c55dc8 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html