From: Vlad Yasevich Date: Mon, 15 Apr 2013 09:54:25 +0000 (+0000) Subject: net: add dev_uc_sync_multiple() and dev_mc_sync_multiple() api X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~120^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cd729b04285b7330edaf5a7080aa795d6d15ff3;p=pandora-kernel.git net: add dev_uc_sync_multiple() and dev_mc_sync_multiple() api The current implementation of dev_uc_sync/unsync() assumes that there is a strict 1-to-1 relationship between the source and destination of the sync. In other words, once an address has been synced to a destination device, it will not be synced to any other device through the sync API. However, there are some virtual devices that aggreate a number of lower devices and need to sync addresses to all of them. The current API falls short there. This patch introduces a new dev_uc_sync_multiple() api that can be called in the above circumstances and allows sync to work for every invocation. CC: Jiri Pirko Signed-off-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed