summaryrefslogtreecommitdiff
path: root/include/sound/seq_kernel.h
diff options
context:
space:
mode:
authorMichal Kubeček <mkubecek@suse.cz>2014-05-20 06:29:45 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-05-22 19:07:23 (GMT)
commit3625920b62c32041f796f0ca14da84731de40d57 (patch)
tree6eff4a2f3320213c451d73a24eda76083628e01c /include/sound/seq_kernel.h
parenta9b3ace44c7d4eb021a78a4d2e6bb812c34f086f (diff)
downloadlinux-3625920b62c32041f796f0ca14da84731de40d57.tar.xz
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>
Diffstat (limited to 'include/sound/seq_kernel.h')
0 files changed, 0 insertions, 0 deletions