Search Linux Wireless

[PATCH (temporary)] net: export __dev_addr_sync/__dev_addr_unsync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
---
This is a temporary patch, to live in wireless-testing for testing the
mac80211 patch that depends on it, until Jiri Pirko refactors the code
for handling multicast lists and we can rebase this and the mac80211
mdev removal over his work.

 net/core/dev.c |    2 ++
 1 file changed, 2 insertions(+)

--- wireless-testing.orig/net/core/dev.c	2009-06-17 01:20:04.000000000 +0200
+++ wireless-testing/net/core/dev.c	2009-06-17 01:20:24.000000000 +0200
@@ -3585,6 +3585,7 @@ int __dev_addr_sync(struct dev_addr_list
 	}
 	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)
@@ -3604,6 +3605,7 @@ void __dev_addr_unsync(struct dev_addr_l
 		da = next;
 	}
 }
+EXPORT_SYMBOL_GPL(__dev_addr_unsync);
 
 /**
  *	dev_unicast_sync - Synchronize device's unicast list to another device


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux