diff options
author | Patrick McHardy <kaber@trash.net> | 2007-07-15 05:52:02 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-15 05:52:02 +0400 |
commit | a0a400d79e3dd7843e7e81baa3ef2957bdc292d0 (patch) | |
tree | 1391190938fb43587967f44f0ab139a2522b4a65 /net/8021q | |
parent | 24023451c8df726692e2f52288a20870d13b501f (diff) | |
download | linux-a0a400d79e3dd7843e7e81baa3ef2957bdc292d0.tar.xz |
[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 <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions