Messages in this thread Patch in this message | | | From | Sun Shouxin <> | Subject | [PATCH v5 3/4] net:ipv6:Export inet6_ifa_finish_destroy and ipv6_get_ifaddr | Date | Mon, 21 Mar 2022 04:47:03 -0400 |
| |
Export inet6_ifa_finish_destroy and ipv6_get_ifaddr for bonding usage.
Signed-off-by: Sun Shouxin <sunshouxin@chinatelecom.cn> --- net/ipv6/addrconf.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index bb1912eacd90..6825d70c34fb 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -975,6 +975,7 @@ void inet6_ifa_finish_destroy(struct inet6_ifaddr *ifp) kfree_rcu(ifp, rcu); } +EXPORT_SYMBOL(inet6_ifa_finish_destroy); static void ipv6_link_dev_addr(struct inet6_dev *idev, struct inet6_ifaddr *ifp) @@ -2037,6 +2038,7 @@ struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, const struct in6_addr *add return result; } +EXPORT_SYMBOL(ipv6_get_ifaddr); /* Gets referenced address, destroys ifaddr */ -- 2.27.0
| |