Subject: Re: [evb] RE: [PATCH][RFC] net/bridge: add basic VEPA support

From: Stephen Hemminger <[email-masked]>
Date: Mon, 10 Aug 2009 08:20:37 -0700

On Sun, 09 Aug 2009 14:19:08 +0300
Or Gerlitz <[email-masked]> wrote:

> Stephen Hemminger wrote:
> > I have a patch that forwards all multicast packets, and another that does proper forwarding. It should have worked that way in original macvlan, the current behavior is really a bug.
> >   
> Looking in macvlan_set_multicast_list() it acts in a similar manner to
> macvlan_set_mac_address() in the sense that it calls dev_mc_sync(). I
> assume what's left is to add macvlan_hash_xxx multicast logic to
> map/unmap multicast groups to what macvlan devices want to receive them
> and this way the flooding can be removed, correct?

The device can just flood all multicast packets, since the filtering
is done on the receive path anyway.