projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'x86-build-for-linus', 'x86-cleanups-for-linus' and 'x86-debug-for...
[deliverable/linux.git]
/
net
/
ipv4
/
fib_rules.c
diff --git
a/net/ipv4/fib_rules.c
b/net/ipv4/fib_rules.c
index f2e15738534d316ed0c50b8be2e1976fa03052c5..8f7bd56955b0dc35bb89e4fd0d3fe19fe9b53a47 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);
This page took
0.023625 seconds
and
5
git commands to generate.