diff options
author | Gilad Ben-Yossef <gilad@benyossef.com> | 2017-10-18 08:00:35 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-11-03 22:11:17 +0800 |
commit | 068c2e703577dca8cd634421f14b90959589ec85 (patch) | |
tree | 3144bd7660f68746530412aa8ab09e9f3339da3f /net/ipv4/ah4.c | |
parent | cfba73d25f0eca9f01f565f0243e3083f4667234 (diff) | |
download | blackbird-obmc-linux-068c2e703577dca8cd634421f14b90959589ec85.tar.gz blackbird-obmc-linux-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/ah4.c')
-rw-r--r-- | net/ipv4/ah4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ah4.c b/net/ipv4/ah4.c index 37db44f60718..4dd95cdd8070 100644 --- a/net/ipv4/ah4.c +++ b/net/ipv4/ah4.c @@ -240,7 +240,7 @@ static int ah_output(struct xfrm_state *x, struct sk_buff *skb) if (err == -EINPROGRESS) goto out; - if (err == -EBUSY) + if (err == -ENOSPC) err = NET_XMIT_DROP; goto out_free; } |