{"id":810151,"url":"http://patchwork.ozlabs.org/api/patches/810151/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/patch/1504615144-29770-4-git-send-email-gilad@benyossef.com/","project":{"id":7,"url":"http://patchwork.ozlabs.org/api/projects/7/?format=json","name":"Linux network development","link_name":"netdev","list_id":"netdev.vger.kernel.org","list_email":"netdev@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1504615144-29770-4-git-send-email-gilad@benyossef.com>","list_archive_url":null,"date":"2017-09-05T12:38:42","name":"[v8,03/20] net: use -EAGAIN for transient busy indication","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":true,"hash":"80751fbae3287f9d1aa25e7d46ea1d2da5d08f82","submitter":{"id":11198,"url":"http://patchwork.ozlabs.org/api/people/11198/?format=json","name":"Gilad Ben-Yossef","email":"gilad@benyossef.com"},"delegate":{"id":34,"url":"http://patchwork.ozlabs.org/api/users/34/?format=json","username":"davem","first_name":"David","last_name":"Miller","email":"davem@davemloft.net"},"mbox":"http://patchwork.ozlabs.org/project/netdev/patch/1504615144-29770-4-git-send-email-gilad@benyossef.com/mbox/","series":[{"id":1573,"url":"http://patchwork.ozlabs.org/api/series/1573/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/list/?series=1573","date":"2017-09-05T12:38:39","name":"simplify crypto wait for async op","version":8,"mbox":"http://patchwork.ozlabs.org/series/1573/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810151/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810151/checks/","tags":{},"related":[],"headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xmmjy1RFKz9sRV\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue,  5 Sep 2017 22:48:54 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751748AbdIEMkO (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 5 Sep 2017 08:40:14 -0400","from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:39050 \"EHLO\n\tfoss.arm.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751671AbdIEMkF (ORCPT <rfc822;netdev@vger.kernel.org>);\n\tTue, 5 Sep 2017 08:40:05 -0400","from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9E457164F;\n\tTue,  5 Sep 2017 05:40:04 -0700 (PDT)","from gby.kfn.arm.com (unknown [10.45.48.140])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id\n\t6F17C3F3E1; Tue,  5 Sep 2017 05:39:54 -0700 (PDT)"],"From":"Gilad Ben-Yossef <gilad@benyossef.com>","To":"Herbert Xu <herbert@gondor.apana.org.au>,\n\t\"David S. Miller\" <davem@davemloft.net>,\n\tJonathan Corbet <corbet@lwn.net>, David Howells <dhowells@redhat.com>,\n\tTom Lendacky <thomas.lendacky@amd.com>, Gary Hook <gary.hook@amd.com>,\n\tBoris Brezillon <boris.brezillon@free-electrons.com>,\n\tArnaud Ebalard <arno@natisbad.org>,\n\tMatthias Brugger <matthias.bgg@gmail.com>,\n\tAlasdair Kergon <agk@redhat.com>,\n\tMike Snitzer <snitzer@redhat.com>, dm-devel@redhat.com,\n\tShaohua Li <shli@kernel.org>, Steve French <sfrench@samba.org>,\n\t\"Theodore Y. Ts'o\" <tytso@mit.edu>, Jaegeuk Kim <jaegeuk@kernel.org>,\n\tSteffen Klassert <steffen.klassert@secunet.com>,\n\tAlexey Kuznetsov <kuznet@ms2.inr.ac.ru>,\n\tHideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>,\n\tMimi Zohar <zohar@linux.vnet.ibm.com>,\n\tDmitry Kasatkin <dmitry.kasatkin@gmail.com>,\n\tJames Morris <james.l.morris@oracle.com>,\n\t\"Serge E. Hallyn\" <serge@hallyn.com>, linux-crypto@vger.kernel.org,\n\tlinux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tkeyrings@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n\tlinux-mediatek@lists.infradead.org, linux-raid@vger.kernel.org,\n\tlinux-cifs@vger.kernel.org, samba-technical@lists.samba.org,\n\tlinux-fscrypt@vger.kernel.org, netdev@vger.kernel.org,\n\tlinux-ima-devel@lists.sourceforge.net,\n\tlinux-ima-user@lists.sourceforge.net,\n\tlinux-security-module@vger.kernel.org","Cc":"Ofir Drang <ofir.drang@arm.com>","Subject":"[PATCH v8 03/20] net: use -EAGAIN for transient busy indication","Date":"Tue,  5 Sep 2017 15:38:42 +0300","Message-Id":"<1504615144-29770-4-git-send-email-gilad@benyossef.com>","X-Mailer":"git-send-email 2.1.4","In-Reply-To":"<1504615144-29770-1-git-send-email-gilad@benyossef.com>","References":"<1504615144-29770-1-git-send-email-gilad@benyossef.com>","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"},"content":"Replace -EBUSY with -EAGAIN when handling transient busy\nindication in the absence of backlog.\n\nSigned-off-by: Gilad Ben-Yossef <gilad@benyossef.com>\n\n---\n\nPlease squash this patch with the previous one when merging upstream.\n---\n net/ipv4/ah4.c  | 2 +-\n net/ipv4/esp4.c | 2 +-\n net/ipv6/ah6.c  | 2 +-\n net/ipv6/esp6.c | 2 +-\n 4 files changed, 4 insertions(+), 4 deletions(-)","diff":"diff --git a/net/ipv4/ah4.c b/net/ipv4/ah4.c\nindex 37db44f..049cb0a 100644\n--- a/net/ipv4/ah4.c\n+++ b/net/ipv4/ah4.c\n@@ -240,7 +240,7 @@ static int ah_output(struct xfrm_state *x, struct sk_buff *skb)\n \t\tif (err == -EINPROGRESS)\n \t\t\tgoto out;\n \n-\t\tif (err == -EBUSY)\n+\t\tif (err == -EAGAIN)\n \t\t\terr = NET_XMIT_DROP;\n \t\tgoto out_free;\n \t}\ndiff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c\nindex b00e4a4..ff8e088 100644\n--- a/net/ipv4/esp4.c\n+++ b/net/ipv4/esp4.c\n@@ -432,7 +432,7 @@ int esp_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *\n \tcase -EINPROGRESS:\n \t\tgoto error;\n \n-\tcase -EBUSY:\n+\tcase -EAGAIN:\n \t\terr = NET_XMIT_DROP;\n \t\tbreak;\n \ndiff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c\nindex 7802b72..ba0c145 100644\n--- a/net/ipv6/ah6.c\n+++ b/net/ipv6/ah6.c\n@@ -443,7 +443,7 @@ static int ah6_output(struct xfrm_state *x, struct sk_buff *skb)\n \t\tif (err == -EINPROGRESS)\n \t\t\tgoto out;\n \n-\t\tif (err == -EBUSY)\n+\t\tif (err == -EAGAIN)\n \t\t\terr = NET_XMIT_DROP;\n \t\tgoto out_free;\n \t}\ndiff --git a/net/ipv6/esp6.c b/net/ipv6/esp6.c\nindex 89910e2..1a71ee5 100644\n--- a/net/ipv6/esp6.c\n+++ b/net/ipv6/esp6.c\n@@ -396,7 +396,7 @@ int esp6_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info\n \tcase -EINPROGRESS:\n \t\tgoto error;\n \n-\tcase -EBUSY:\n+\tcase -EAGAIN:\n \t\terr = NET_XMIT_DROP;\n \t\tbreak;\n \n","prefixes":["v8","03/20"]}