diff options
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index fbc72b4570de..b5c315e175a0 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c | |||
@@ -1316,9 +1316,9 @@ xfrm_tmpl_resolve_one(struct xfrm_policy *policy, const struct flowi *fl, | |||
1316 | error = (x->km.state == XFRM_STATE_ERROR ? | 1316 | error = (x->km.state == XFRM_STATE_ERROR ? |
1317 | -EINVAL : -EAGAIN); | 1317 | -EINVAL : -EAGAIN); |
1318 | xfrm_state_put(x); | 1318 | xfrm_state_put(x); |
1319 | } | 1319 | } else if (error == -ESRCH) { |
1320 | else if (error == -ESRCH) | ||
1321 | error = -EAGAIN; | 1320 | error = -EAGAIN; |
1321 | } | ||
1322 | 1322 | ||
1323 | if (!tmpl->optional) | 1323 | if (!tmpl->optional) |
1324 | goto fail; | 1324 | goto fail; |