Browse Source

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>
Johannes Berg 16 years ago
parent
commit
c4029083e2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      net/core/dev.c

+ 2 - 0
net/core/dev.c

@@ -3923,6 +3923,7 @@ int __dev_addr_sync(struct dev_addr_list **to, int *to_count,
 	}
 	}
 	return err;
 	return err;
 }
 }
+EXPORT_SYMBOL_GPL(__dev_addr_sync);
 
 
 void __dev_addr_unsync(struct dev_addr_list **to, int *to_count,
 void __dev_addr_unsync(struct dev_addr_list **to, int *to_count,
 		       struct dev_addr_list **from, int *from_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;
 		da = next;
 	}
 	}
 }
 }
+EXPORT_SYMBOL_GPL(__dev_addr_unsync);
 
 
 /**
 /**
  *	dev_unicast_sync - Synchronize device's unicast list to another device
  *	dev_unicast_sync - Synchronize device's unicast list to another device