aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 01:18:13 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 21:01:08 -0400
commitd878e72e419db9ff4c66848375ee30a19820e4de (patch)
tree69df883f29c7d140440bb9cc2f47b5d9003d9643
parentfd6832220974809141b3981e380b78690bba8911 (diff)
[IPV4]: ip_fib_check_default() annotated
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/ip_fib.h2
-rw-r--r--net/ipv4/fib_semantics.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h
index cacf4c52a8c0..9cd0b56cd758 100644
--- a/include/net/ip_fib.h
+++ b/include/net/ip_fib.h
@@ -229,7 +229,7 @@ extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res
229struct rtentry; 229struct rtentry;
230 230
231/* Exported by fib_semantics.c */ 231/* Exported by fib_semantics.c */
232extern int ip_fib_check_default(u32 gw, struct net_device *dev); 232extern int ip_fib_check_default(__be32 gw, struct net_device *dev);
233extern int fib_sync_down(u32 local, struct net_device *dev, int force); 233extern int fib_sync_down(u32 local, struct net_device *dev, int force);
234extern int fib_sync_up(struct net_device *dev); 234extern int fib_sync_up(struct net_device *dev);
235extern __be32 __fib_res_prefsrc(struct fib_result *res); 235extern __be32 __fib_res_prefsrc(struct fib_result *res);
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c
index d91244782216..d853bd2bd0d2 100644
--- a/net/ipv4/fib_semantics.c
+++ b/net/ipv4/fib_semantics.c
@@ -248,7 +248,7 @@ static inline unsigned int fib_devindex_hashfn(unsigned int val)
248 Used only by redirect accept routine. 248 Used only by redirect accept routine.
249 */ 249 */
250 250
251int ip_fib_check_default(u32 gw, struct net_device *dev) 251int ip_fib_check_default(__be32 gw, struct net_device *dev)
252{ 252{
253 struct hlist_head *head; 253 struct hlist_head *head;
254 struct hlist_node *node; 254 struct hlist_node *node;