Commit d878e72e authored by Al Viro's avatar Al Viro Committed by David S. Miller

[IPV4]: ip_fib_check_default() annotated

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fd683222
...@@ -229,7 +229,7 @@ extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res ...@@ -229,7 +229,7 @@ extern void fib_select_multipath(const struct flowi *flp, struct fib_result *res
struct rtentry; struct rtentry;
/* Exported by fib_semantics.c */ /* Exported by fib_semantics.c */
extern int ip_fib_check_default(u32 gw, struct net_device *dev); extern int ip_fib_check_default(__be32 gw, struct net_device *dev);
extern int fib_sync_down(u32 local, struct net_device *dev, int force); extern int fib_sync_down(u32 local, struct net_device *dev, int force);
extern int fib_sync_up(struct net_device *dev); extern int fib_sync_up(struct net_device *dev);
extern __be32 __fib_res_prefsrc(struct fib_result *res); extern __be32 __fib_res_prefsrc(struct fib_result *res);
......
...@@ -248,7 +248,7 @@ static inline unsigned int fib_devindex_hashfn(unsigned int val) ...@@ -248,7 +248,7 @@ static inline unsigned int fib_devindex_hashfn(unsigned int val)
Used only by redirect accept routine. Used only by redirect accept routine.
*/ */
int ip_fib_check_default(u32 gw, struct net_device *dev) int ip_fib_check_default(__be32 gw, struct net_device *dev)
{ {
struct hlist_head *head; struct hlist_head *head;
struct hlist_node *node; struct hlist_node *node;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment