diff options
author | Amit Cohen <amcohen@nvidia.com> | 2021-02-01 21:47:51 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-02 17:45:58 -0800 |
commit | 1e7bdec6bbc7816cdc6a093374f4bf4e732c3d44 (patch) | |
tree | f75e8a3dac6ccbd63f72c78f6585a960bec709b2 /net/ipv4/fib_lookup.h | |
parent | 085547891de548491d8b9af22c8fbc9487c79055 (diff) | |
download | linux-1e7bdec6bbc7816cdc6a093374f4bf4e732c3d44.tar.gz linux-1e7bdec6bbc7816cdc6a093374f4bf4e732c3d44.tar.bz2 linux-1e7bdec6bbc7816cdc6a093374f4bf4e732c3d44.zip |
net: ipv4: Publish fib_nlmsg_size()
Publish fib_nlmsg_size() to allow it to be used later on from
fib_alias_hw_flags_set().
Remove the inline keyword since it shouldn't be used inside C files.
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/fib_lookup.h')
-rw-r--r-- | net/ipv4/fib_lookup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/fib_lookup.h b/net/ipv4/fib_lookup.h index b75db4dcbf5e..aff454ef0fa3 100644 --- a/net/ipv4/fib_lookup.h +++ b/net/ipv4/fib_lookup.h @@ -42,6 +42,7 @@ int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event, const struct fib_rt_info *fri, unsigned int flags); void rtmsg_fib(int event, __be32 key, struct fib_alias *fa, int dst_len, u32 tb_id, const struct nl_info *info, unsigned int nlm_flags); +size_t fib_nlmsg_size(struct fib_info *fi); static inline void fib_result_assign(struct fib_result *res, struct fib_info *fi) |