projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'trace-seq-buf-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...
[cascardo/linux.git]
/
net
/
ipv4
/
fib_rules.c
diff --git
a/net/ipv4/fib_rules.c
b/net/ipv4/fib_rules.c
index
f2e1573
..
8f7bd56
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);