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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Mar 2013 21:36:59 +0000 (16:36 -0500)
commit87ab7f6f2874f1115817e394a7ed2dea1c72549e
tree5194d6ac6b8aff2908f21dd54bbabde77395f6e6
parentba81276b1a5e3cf0674cb0e6d9525e5ae0c98695
macvlan: Set IFF_UNICAST_FLT flag to prevent unnecessary promisc mode.

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>
drivers/net/macvlan.c