]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Aug 2014 05:10:01 +0000 (22:10 -0700)
commit4037ca795e9fba9b96cae2d9badbd71489688770
tree8d96a14a8322dd3f91301bfa0480a923e061dd9a
parent3bab63af82edea166a0cccf54b61692b37641775
macvlan: Initialize vlan_features to turn on offload support.

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