From: Johannes Berg Date: Wed, 17 Jun 2009 15:43:30 +0000 (+0200) Subject: net: export __dev_addr_sync/__dev_addr_unsync X-Git-Tag: v2.6.32-rc1~703^2~544^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c4029083e2acb82229c43b791c07afb089d972ff;p=platform%2Fupstream%2Fkernel-adaptation-pc.git net: export __dev_addr_sync/__dev_addr_unsync For mac80211, with the master netdev removal, we need to be able to sync a multicast address list onto another list that is not tracked within a netdev, so we need access to the functions doing that. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/net/core/dev.c b/net/core/dev.c index dca8b50..d6c657e 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3923,6 +3923,7 @@ int __dev_addr_sync(struct dev_addr_list **to, int *to_count, } return err; } +EXPORT_SYMBOL_GPL(__dev_addr_sync); void __dev_addr_unsync(struct dev_addr_list **to, int *to_count, struct dev_addr_list **from, int *from_count) @@ -3942,6 +3943,7 @@ void __dev_addr_unsync(struct dev_addr_list **to, int *to_count, da = next; } } +EXPORT_SYMBOL_GPL(__dev_addr_unsync); /** * dev_unicast_sync - Synchronize device's unicast list to another device