[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070714.185237.122619429.davem@davemloft.net>
Date: Sat, 14 Jul 2007 18:52:37 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kaber@...sh.net
Cc: netdev@...r.kernel.org, greearb@...delatech.com
Subject: Re: [NET 02/05]: dev_mcast: add multicast list synchronization
helpers
From: Patrick McHardy <kaber@...sh.net>
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 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@...sh.net>
Applied.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists