From: Patrick McHardy Date: Sun, 15 Jul 2007 01:52:02 +0000 (-0700) Subject: [NET]: dev_mcast: add multicast list synchronization helpers X-Git-Tag: v2.6.23-rc1~1054^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0a400d79e3dd7843e7e81baa3ef2957bdc292d0;p=pandora-kernel.git [NET]: dev_mcast: add multicast list synchronization helpers The method drivers currently use to synchronize multicast lists is not very pretty: - walk the multicast list - search each entry on a copy of the previous list - if new add to lower device - walk the copy of the previous list - search each entry on the current list - if removed delete from lower device - copy entire list This patch adds a new field to struct dev_addr_list to store the synchronization state and adds two helper functions for synchronization and cleanup. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed