Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4920903rwb; Tue, 8 Aug 2023 16:43:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH5syQHswhwKLu68zXWyxNpsXLt6VYazy8qhw5/A9MUqtOQIyTqd4OZVD7qNJ80YfVQ5jiu X-Received: by 2002:a05:6870:3050:b0:1bb:6cca:3468 with SMTP id u16-20020a056870305000b001bb6cca3468mr1407489oau.47.1691538205356; Tue, 08 Aug 2023 16:43:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691538205; cv=none; d=google.com; s=arc-20160816; b=c3GESTmtX6oVJ4WFl//lSBxMZfRKeBL+PzILloevLOMkYsZk44dadgYkGGSHhaU6nK 243myNA3T76H/KQmIcgZUNtIvSMa2u3hP1BOs9tO+9HpPu01mlJQOo7xSYMZsjnVrQpj bYSO6o+jtVcX/KaBlBXjiLamlnvS55ohF1uNimQw6uR6xtViMxLEUr1FDalkvksW2nCG falGypqUZCTBm2AU3eBVdoBrWS2PcFlPEyMQXl/LbYEK45t4H4lmHCuoRRDLlNyOF3gn MYl4qmQ/ltr4S0CXcSu5V2ZI4JB+Rbx21Gw2NXk2uNxiJxtfsBb7/gHGHhg2EYZSxOAL /+6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=b3UvUHRODWhg6azoxceJdjNugCbyWHVNc+MQUIAo1wY=; fh=E/KpfKoAQ1ks2GtBXXcnPQ6Yg7mCj1woH7S6+f2nFYQ=; b=UTpASwKF86kK52oVkWRw/UAAv71O3087Byj2taz/xU2nOdPKv27zD+0mP+NDIQ2CPw DYp2jA/x5yeqhba3LMdqu1bAMkxZ/E8R3dVThCdf0/rw9zvtXK6/A7S8RUe5PwioPULW CR/OU7tdyi0ZoiSXfguLSDFz7OTIFrnj1Yyt8/ajwigRD/dtkjUpyD+uoxnYeawoeum+ GFeYW0GU1dmtsnRaoy9JPsBh0BRPkvX/HCssep7+wahTxNblHl1fpsto9PHLVl2fQ/1v jaM8i0GMdKCB1iufA/g2ZIJM/RyTn304FQ9/J/51rNzpFlH+LSmzyddhnkQ8+DgBl4X9 a4UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dL5HTlOD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 63-20020a630142000000b00563dd9bead7si8031310pgb.746.2023.08.08.16.43.13; Tue, 08 Aug 2023 16:43:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dL5HTlOD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229782AbjHHXAY (ORCPT + 99 others); Tue, 8 Aug 2023 19:00:24 -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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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