diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-06-17 11:43:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-24 15:05:30 -0400 |
commit | c4029083e2acb82229c43b791c07afb089d972ff (patch) | |
tree | 0b833353589c65a5a7427cddf81ba8f0f61384b1 /net | |
parent | ccc78ec5d463e6c99f4a384be52b31222ffe2e21 (diff) |
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 <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index dca8b5000d3b..d6c657ee413d 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, | |||
3923 | } | 3923 | } |
3924 | return err; | 3924 | return err; |
3925 | } | 3925 | } |
3926 | EXPORT_SYMBOL_GPL(__dev_addr_sync); | ||
3926 | 3927 | ||
3927 | void __dev_addr_unsync(struct dev_addr_list **to, int *to_count, | 3928 | void __dev_addr_unsync(struct dev_addr_list **to, int *to_count, |
3928 | struct dev_addr_list **from, int *from_count) | 3929 | struct dev_addr_list **from, int *from_count) |
@@ -3942,6 +3943,7 @@ void __dev_addr_unsync(struct dev_addr_list **to, int *to_count, | |||
3942 | da = next; | 3943 | da = next; |
3943 | } | 3944 | } |
3944 | } | 3945 | } |
3946 | EXPORT_SYMBOL_GPL(__dev_addr_unsync); | ||
3945 | 3947 | ||
3946 | /** | 3948 | /** |
3947 | * dev_unicast_sync - Synchronize device's unicast list to another device | 3949 | * dev_unicast_sync - Synchronize device's unicast list to another device |