mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
[IPV4]: FIB_RES_PREFSRC() annotated
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ed49e3caaa
commit
b83738ae00
2 changed files with 3 additions and 3 deletions
|
@ -923,7 +923,7 @@ out_fill_res:
|
|||
|
||||
/* Find appropriate source address to this destination */
|
||||
|
||||
u32 __fib_res_prefsrc(struct fib_result *res)
|
||||
__be32 __fib_res_prefsrc(struct fib_result *res)
|
||||
{
|
||||
return inet_select_addr(FIB_RES_DEV(*res), FIB_RES_GW(*res), res->scope);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue