aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/esp4.c
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-10-18 08:00:35 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-11-03 22:11:17 +0800
commit068c2e703577dca8cd634421f14b90959589ec85 (patch)
tree3144bd7660f68746530412aa8ab09e9f3339da3f /net/ipv4/esp4.c
parentcrypto: ccp - use -ENOSPC for transient busy indication (diff)
downloadlinux-dev-068c2e703577dca8cd634421f14b90959589ec85.tar.xz
linux-dev-068c2e703577dca8cd634421f14b90959589ec85.zip
net: use -ENOSPC for transient busy indication
Replace -EBUSY with -ENOSPC when handling transient busy indication in the absence of backlog. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/ipv4/esp4.c')
-rw-r--r--net/ipv4/esp4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c
index b00e4a43b4dc..d57aa64fa7c7 100644
--- a/net/ipv4/esp4.c
+++ b/net/ipv4/esp4.c
@@ -432,7 +432,7 @@ int esp_output_tail(struct xfrm_state *x, struct sk_buff *skb, struct esp_info *
case -EINPROGRESS:
goto error;
- case -EBUSY:
+ case -ENOSPC:
err = NET_XMIT_DROP;
break;