projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10b0046
)
ipv4: removed redundant conditional
author
Niv Yehezkel
<executerx@gmail.com>
Fri, 8 Aug 2014 08:27:37 +0000
(
04:27
-0400)
committer
David S. Miller
<davem@davemloft.net>
Fri, 8 Aug 2014 17:22:22 +0000
(10:22 -0700)
Since fib_lookup cannot return ESRCH no longer,
checking for this error code is no longer neccesary.
Signed-off-by: Niv Yehezkel <executerx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/route.c
b/net/ipv4/route.c
index 190199851c9abbd0017f8e6c7134283505f6ceff..eaa4b000c7b443898be7c5ce36f4da4eb20158a6 100644
(file)
--- a/
net/ipv4/route.c
+++ b/
net/ipv4/route.c
@@
-1798,8
+1798,6
@@
local_input:
no_route:
RT_CACHE_STAT_INC(in_no_route);
res.type = RTN_UNREACHABLE;
- if (err == -ESRCH)
- err = -ENETUNREACH;
goto local_input;
/*