]> git.ipfire.org Git - people/ms/linux.git/commit
macvlan: Initialize vlan_features to turn on offload support.
authorVlad Yasevich <vyasevic@redhat.com>
Thu, 31 Jul 2014 14:30:25 +0000 (10:30 -0400)
committerJiri Slaby <jslaby@suse.cz>
Tue, 19 Aug 2014 15:15:01 +0000 (17:15 +0200)
commit6a25e8f778995cabb0cfe2acb3247e3b42dec35f
treec0cdaf626865e147877aded64736d1329b194841
parent4a07c786e3d9fbe989d8b5bf9920a1e34afd8b91
macvlan: Initialize vlan_features to turn on offload support.

[ Upstream commit 081e83a78db9b0ae1f5eabc2dedecc865f509b98 ]

Macvlan devices do not initialize vlan_features.  As a result,
any vlan devices configured on top of macvlans perform very poorly.
Initialize vlan_features based on the vlan features of the lower-level
device.

Signed-off-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