Skip to content

Commit

Permalink
net:ipv6:Export inet6_ifa_finish_destroy and ipv6_get_ifaddr
Browse files Browse the repository at this point in the history
Export inet6_ifa_finish_destroy and ipv6_get_ifaddr for bonding usage.

Signed-off-by: Sun Shouxin <sunshouxin@chinatelecom.cn>
  • Loading branch information
Sun Shouxin authored and intel-lab-lkp committed Mar 21, 2022
1 parent fb33bc5 commit 423f862
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 */

Expand Down

0 comments on commit 423f862

Please sign in to comment.