]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Mar 2013 20:10:58 +0000 (13:10 -0700)
commit9a6d24b60d50181ecd5d4e5484e86750e710b045
tree25f0757c89f00c3b4ce06c6ef40a49733497d6fd
parent644f8b3b1842a0b0ae6afebf5ed4bc111ddb404c
macvlan: Set IFF_UNICAST_FLT flag to prevent unnecessary promisc mode.

[ 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/macvlan.c