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>
This commit is contained in:
Gilad Ben-Yossef
2017-10-18 08:00:35 +01:00
committed by Herbert Xu
parent cfba73d25f
commit 068c2e7035
4 changed files with 4 additions and 4 deletions

View File

@@ -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;