macvlan: Set IFF_UNICAST_FLT flag to prevent unnecessary promisc mode.
authorVlad Yasevich <vyasevic@redhat.com>
Thu, 7 Mar 2013 10:21:48 +0000 (10:21 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 27 Mar 2013 02:40:57 +0000 (02:40 +0000)
[ Upstream commit 87ab7f6f2874f1115817e394a7ed2dea1c72549e ]

Macvlan already supports hw address filters.  Set the IFF_UNICAST_FLT
so that it doesn't needlesly enter PROMISC mode when macvlans are
stacked.

Signed-of-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

No differences found