projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
618f9bc
)
route: struct rtable can be const in rt_is_input_route and rt_is_output_route
author
Steffen Klassert
<steffen.klassert@secunet.com>
Wed, 23 Nov 2011 02:14:15 +0000
(
02:14
+0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 26 Nov 2011 19:29:51 +0000
(14:29 -0500)
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/route.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/route.h
b/include/net/route.h
index db7b3432f07c41ce124c9d2a792035cead8b048d..91855d185b537f96fc0ea09134c96a93b63aa3d3 100644
(file)
--- a/
include/net/route.h
+++ b/
include/net/route.h
@@
-71,12
+71,12
@@
struct rtable {
struct fib_info *fi; /* for client ref to shared metrics */
};
-static inline bool rt_is_input_route(struct rtable *rt)
+static inline bool rt_is_input_route(
const
struct rtable *rt)
{
return rt->rt_route_iif != 0;
}
-static inline bool rt_is_output_route(struct rtable *rt)
+static inline bool rt_is_output_route(
const
struct rtable *rt)
{
return rt->rt_route_iif == 0;
}