]> www.infradead.org Git - users/jedix/linux-maple.git/commit
team: Fix initial vlan_feature set in __team_compute_features
authorDaniel Borkmann <daniel@iogearbox.net>
Tue, 10 Dec 2024 14:12:44 +0000 (15:12 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 12 Dec 2024 10:59:18 +0000 (11:59 +0100)
commit396699ac2cb1bc4e3485abb48a1e3e41956de0cd
treefc000d38332cb4350470342526e047eaf2b3b07a
parent77b11c8bf3a228d1c63464534c2dcc8d9c8bf7ff
team: Fix initial vlan_feature set in __team_compute_features

Similarly as with bonding, fix the calculation of vlan_features to reuse
netdev_base_features() in order derive the set in the same way as
ndo_fix_features before iterating through the slave devices to refine the
feature set.

Fixes: 3625920b62c3 ("teaming: fix vlan_features computing")
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Nikolay Aleksandrov <razor@blackwall.org>
Cc: Ido Schimmel <idosch@idosch.org>
Cc: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20241210141245.327886-4-daniel@iogearbox.net
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/team/team_core.c