]> git.baikalelectronics.ru Git - kernel.git/commit
macvlan: Propagate promiscuity setting to lower devices.
authorVlad Yasevich <vyasevich@gmail.com>
Fri, 1 May 2015 21:36:37 +0000 (17:36 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 04:14:13 +0000 (00:14 -0400)
commit65396ef991c71d0b23c89543f9cfa7c1b8ce63bb
treeb67a7c4723ad11c3f84a448ea8130aeda9c40b2d
parenta6697dc8fdafcceec5b4506d3ba1a7aedb1c35ce
macvlan: Propagate promiscuity setting to lower devices.

When a macvlan device is placed in promiscuous mode, it currently
just sets it's multicast mask to permissive, but doesn't change
the state of the lower device.  As a result, not all multicast
traffic can be received on such device.  Additionally, none of
a vlan traffic can be received on such device as well.
This patch propagates the promiscuous mode setting to lower device
so that lower device may receive all packets that macvlan may
be interested in.

Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c