aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_semantics.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-09-27 01:14:15 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 20:54:13 -0400
commitb83738ae003dde613712ddb1e90a8a01f5587b51 (patch)
tree55a60484109b539d6e9dbb359b6dda9071b877fa /net/ipv4/fib_semantics.c
parented49e3caaa6126f8e29f08e8b4fdcafcae431b57 (diff)
[IPV4]: FIB_RES_PREFSRC() annotated
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
-rw-r--r--net/ipv4/fib_semantics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c
index 2ead09543f68..152d9a264fab 100644
--- a/net/ipv4/fib_semantics.c
+++ b/net/ipv4/fib_semantics.c
@@ -923,7 +923,7 @@ out_fill_res:
923 923
924/* Find appropriate source address to this destination */ 924/* Find appropriate source address to this destination */
925 925
926u32 __fib_res_prefsrc(struct fib_result *res) 926__be32 __fib_res_prefsrc(struct fib_result *res)
927{ 927{
928 return inet_select_addr(FIB_RES_DEV(*res), FIB_RES_GW(*res), res->scope); 928 return inet_select_addr(FIB_RES_DEV(*res), FIB_RES_GW(*res), res->scope);
929} 929}