On Sun, 09 Aug 2009 14:19:08 +0300
Or Gerlitz <ogerl...@voltaire.com> 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.
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/virtualization

Reply via email to