From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1F52C001DB for ; Tue, 8 Aug 2023 23:00:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230003AbjHHXAZ (ORCPT ); Tue, 8 Aug 2023 19:00:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjHHXAY (ORCPT ); Tue, 8 Aug 2023 19:00:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 801E6101 for ; Tue, 8 Aug 2023 16:00:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AC9DA62E09 for ; Tue, 8 Aug 2023 23:00:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 16D8BC433CA; Tue, 8 Aug 2023 23:00:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691535622; bh=cBl/PnPeu7XWK4iCQzRnWGSrHeyrXSg06VIGzy0mnwE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=dL5HTlODfnmSvu8Hc3f2PIdjqwM57R9qBZvp6GtRFJqtSlqk73gcoLJt3FBF8Ei56 ZY2G/plS5RGBZGm7lRsANnfcVwdQB72OUzJ4GJ0z7HWcolBqf2dFI8F1mawjNChPaE fN/Hc7ZWfaw/fRJFaORtqOVKGvt4neujQzwtseOvb8eBNZjUxhofHZU5JSd7NB132X 7xUkKPPwsQcw+JQPvHD1rvZnKAgUE/lDm63WpDxjjhaQA0Pjq2w+drCZ5amr4L+pi0 iimJz8RcEMtdKrZX+HbHu70Z16zSXtB3yfK7fjhm2Nhf9DNt/GejuaCud8IndD5tW2 k0Z2CPn2X8QYQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 00C29E270C1; Tue, 8 Aug 2023 23:00:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH linux-next v2] net/ipv4: return the real errno instead of -EINVAL From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169153562200.6878.1758021707222375930.git-patchwork-notify@kernel.org> Date: Tue, 08 Aug 2023 23:00:22 +0000 References: <20230807015408.248237-1-xu.xin16@zte.com.cn> In-Reply-To: <20230807015408.248237-1-xu.xin16@zte.com.cn> To: xu Cc: davem@davemloft.net, dsahern@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, xu.xin16@zte.com.cn, yang.yang29@zte.com.cn, si.hao@zte.com.cn Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Mon, 7 Aug 2023 01:54:08 +0000 you wrote: > From: xu xin > > For now, No matter what error pointer ip_neigh_for_gw() returns, > ip_finish_output2() always return -EINVAL, which may mislead the upper > users. > > For exemple, an application uses sendto to send an UDP packet, but when the > neighbor table overflows, sendto() will get a value of -EINVAL, and it will > cause users to waste a lot of time checking parameters for errors. > > [...] Here is the summary with links: - [linux-next,v2] net/ipv4: return the real errno instead of -EINVAL https://git.kernel.org/netdev/net-next/c/c67180efc507 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html