]> 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)
commit3fe39cfb3c6dcfc61ffbc10c2edf8e508f6af328
treeb67a7c4723ad11c3f84a448ea8130aeda9c40b2d
parentea007f1a6e6c3ac146a1c0ea200adfbb642feffd
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