mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
ipv4: export fib_info_update_nh_saddr
Add scope as input argument versus relying on fib_info reference in fib_nh, and export fib_info_update_nh_saddr. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9bd8366792
commit
c3669486b5
2 changed files with 7 additions and 7 deletions
|
@ -201,7 +201,8 @@ static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel)
|
|||
#define FIB_TABLE_HASHSZ 2
|
||||
#endif
|
||||
|
||||
__be32 fib_info_update_nh_saddr(struct net *net, struct fib_nh *nh);
|
||||
__be32 fib_info_update_nh_saddr(struct net *net, struct fib_nh *nh,
|
||||
unsigned char scope);
|
||||
__be32 fib_result_prefsrc(struct net *net, struct fib_result *res);
|
||||
|
||||
#define FIB_RES_NHC(res) ((res).nhc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue