aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip_fib.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-17 01:04:57 -0500
committerDavid S. Miller <davem@davemloft.net>2011-02-17 18:52:59 -0500
commitb6bf3ca032c9cd517526178f579e7a4e395c6e45 (patch)
tree2c8f372275336692694146126f934045b4de290f /include/net/ip_fib.h
parent3b004569d86d02786ebae496e75dc0b625be3e9a (diff)
ipv4: Mark fib_combine_itag()'s 'res' arg as const.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_fib.h')
-rw-r--r--include/net/ip_fib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index 08b46b8c3031..b3019d89e8be 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -232,7 +232,7 @@ extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res
232extern void fib_trie_init(void); 232extern void fib_trie_init(void);
233extern struct fib_table *fib_trie_table(u32 id); 233extern struct fib_table *fib_trie_table(u32 id);
234 234
235static inline void fib_combine_itag(u32 *itag, struct fib_result *res) 235static inline void fib_combine_itag(u32 *itag, const struct fib_result *res)
236{ 236{
237#ifdef CONFIG_IP_ROUTE_CLASSID 237#ifdef CONFIG_IP_ROUTE_CLASSID
238#ifdef CONFIG_IP_MULTIPLE_TABLES 238#ifdef CONFIG_IP_MULTIPLE_TABLES