Re: [NET 02/05]: dev_mcast: add multicast list synchronization helpers

2007-07-14 Thread David Miller
From: Patrick McHardy <[EMAIL PROTECTED]> Date: Thu, 12 Jul 2007 20:13:42 +0200 (MEST) > [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

[NET 02/05]: dev_mcast: add multicast list synchronization helpers

2007-07-12 Thread Patrick McHardy
[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