From: Vlad Yasevich Date: Fri, 15 Aug 2014 17:04:59 +0000 (-0400) Subject: macvlan: Allow setting multicast filter on all macvlan types X-Git-Tag: omap-for-v3.17/fixes-against-rc2~24^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a50f11c3b176d7a1df8cd5e29cbe965905e51ee;p=pandora-kernel.git macvlan: Allow setting multicast filter on all macvlan types Currently, macvlan code restricts multicast and unicast filter setting only to passthru devices. As a result, if a guest using macvtap wants to receive multicast traffic, it has to set IFF_ALLMULTI or IFF_PROMISC. This patch makes it possible to use the fdb interface to add multicast addresses to the filter thus allowing a guest to receive only targeted multicast traffic. CC: John Fastabend CC: Michael S. Tsirkin CC: Jason Wang Signed-off-by: Vladislav Yasevich Acked-by: John Fastabend Acked-by: Michael S. Tsirkin Signed-off-by: David S. Miller --- Reading git-diff-tree failed