Skip to content

Commit 0c5cf11

Browse files
committed
team: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL
jira LE-2974 Rebuild_History Non-Buildable kernel-5.14.0-503.40.1.el9_5 commit-author Daniel Borkmann <[email protected]> commit 9871284 Similar to bonding driver, add NETIF_F_GSO_ENCAP_ALL to TEAM_VLAN_FEATURES in order to support slave devices which propagate NETIF_F_GSO_UDP_TUNNEL & NETIF_F_GSO_UDP_TUNNEL_CSUM as vlan_features. Fixes: 3625920 ("teaming: fix vlan_features computing") Signed-off-by: Daniel Borkmann <[email protected]> Cc: Nikolay Aleksandrov <[email protected]> Cc: Ido Schimmel <[email protected]> Cc: Jiri Pirko <[email protected]> Reviewed-by: Nikolay Aleksandrov <[email protected]> Reviewed-by: Hangbin Liu <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]> (cherry picked from commit 9871284) Signed-off-by: Jonathan Maple <[email protected]>
1 parent 6849fe5 commit 0c5cf11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/team/team_core.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,8 @@ static void team_port_disable(struct team *team,
984984

985985
#define TEAM_VLAN_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \
986986
NETIF_F_FRAGLIST | NETIF_F_GSO_SOFTWARE | \
987-
NETIF_F_HIGHDMA | NETIF_F_LRO)
987+
NETIF_F_HIGHDMA | NETIF_F_LRO | \
988+
NETIF_F_GSO_ENCAP_ALL)
988989

989990
#define TEAM_ENC_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \
990991
NETIF_F_RXCSUM | NETIF_F_GSO_SOFTWARE)

0 commit comments

Comments
 (0)