Michal Kubeček 3625920b62 teaming: fix vlan_features computing
__team_compute_features() uses netdev_increment_features() to
combine vlan_features of slaves into vlan_features of the team.
As netdev_increment_features() only adds most features and we
start with TEAM_VLAN_FEATURES, we can end up with features none
of the slaves provided.

Initialize vlan_features only with the flags which are both in
TEAM_VLAN_FEATURES and NETIF_F_ALL_FOR_ALL. Right now there is
no such feature so that we actually initialize vlan_features
with zero but stating it explicitely will make the code more
future proof.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-22 15:07:23 -04:00
..
2014-04-05 15:37:40 -07:00
2014-04-05 15:37:40 -07:00
2014-04-18 16:57:53 -07:00
2014-04-08 13:27:40 +02:00
2014-04-22 09:28:02 -07:00
2014-04-30 09:48:54 +10:00
2014-04-29 19:23:22 +02:00
2014-05-07 15:44:24 -04:00
2014-04-09 08:39:39 -07:00
2014-04-16 12:28:47 -07:00
2014-04-09 08:39:39 -07:00
2014-05-22 15:07:23 -04:00
2014-04-24 12:53:38 -07:00
2014-04-18 16:40:08 -07:00
2014-04-05 15:37:40 -07:00
2014-05-13 17:43:20 -04:00
2014-04-05 15:38:41 -07:00
2014-05-13 17:43:20 -04:00
2014-05-03 18:14:28 -04:00
2014-05-13 17:43:20 -04:00
2014-04-16 14:07:51 -07:00