projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/i915: Invalidate media caches on gen7
[firefly-linux-kernel-4.4.55.git]
/
net
/
ipv4
/
fib_rules.c
diff --git
a/net/ipv4/fib_rules.c
b/net/ipv4/fib_rules.c
index 26aa65d1fce49dfeaa45cbc02046218b5bc70453..c5c8b248d8f6d0effb563e68803595f7e75e54b6 100644
(file)
--- a/
net/ipv4/fib_rules.c
+++ b/
net/ipv4/fib_rules.c
@@
-62,6
+62,10
@@
int __fib_lookup(struct net *net, struct flowi4 *flp, struct fib_result *res)
else
res->tclassid = 0;
#endif
+
+ if (err == -ESRCH)
+ err = -ENETUNREACH;
+
return err;
}
EXPORT_SYMBOL_GPL(__fib_lookup);