From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E24451F7562; Tue, 17 Dec 2024 17:14:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734455651; cv=none; b=CvEljqND2gQ4Lcz0xEy7H4PgotJNlbXUxSpYmYQ9Ce36vMyHyvNEQSExAr04UBu2kRbcBmd1q7skbei7lAmk5BdfUVYXCQRJnCkaW4ppwn0cuJZ1YKQLUcHmiqu05cyZ+GT7QrCXabG6SxaUFdnYfgPAx0R5dqd6PYt231T8KiA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734455651; c=relaxed/simple; bh=USf4Ky6Ll0xxEWnIzxu3mMoWSWwVQmi9TrUwkl0D4R4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oBBKbPtxmvF1dl65ChjZV+3z55R3hNVbeuXANCPD1/uphVo07VJMAroo9NVVDxf/UYESWAefkDCsIj5awRGDFNBmWdyBFWLwOZctkLDwiAky7lnEyIC81rWxv8/TXqeQaNYkQJGDjLQ8GPwH92DIjfm7C5wPXk9FF4nz6G3LXfM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Mb3s0tbA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Mb3s0tbA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28F4CC4CED7; Tue, 17 Dec 2024 17:14:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1734455649; bh=USf4Ky6Ll0xxEWnIzxu3mMoWSWwVQmi9TrUwkl0D4R4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Mb3s0tbAM+qExC3FjsjsoHUihLnR98QbVMiEU3l9rIHSQqq8zCnYYwb9RDFgZTl7W /Sns/9hwuXyV05SVIzbyS/ciaHu7UbsIoVTwdU8F111sotZ0JtTY+YCaHMHQ8eWwRx jNsYgdKItjDnRciegpffFPdoIGVVWAcuuYmyikhI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Daniel Borkmann , Nikolay Aleksandrov , Ido Schimmel , Jiri Pirko , Hangbin Liu , Paolo Abeni , Sasha Levin Subject: [PATCH 5.15 37/51] team: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL Date: Tue, 17 Dec 2024 18:07:30 +0100 Message-ID: <20241217170521.938088199@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241217170520.301972474@linuxfoundation.org> References: <20241217170520.301972474@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Daniel Borkmann [ Upstream commit 98712844589e06d9aa305b5077169942139fd75c ] 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: 3625920b62c3 ("teaming: fix vlan_features computing") Signed-off-by: Daniel Borkmann Cc: Nikolay Aleksandrov Cc: Ido Schimmel Cc: Jiri Pirko Reviewed-by: Nikolay Aleksandrov Reviewed-by: Hangbin Liu Link: https://patch.msgid.link/20241210141245.327886-5-daniel@iogearbox.net Signed-off-by: Paolo Abeni Signed-off-by: Sasha Levin --- drivers/net/team/team.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index 8edfc8984e2c..5e5af71a85ac 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.c @@ -979,7 +979,8 @@ static void team_port_disable(struct team *team, #define TEAM_VLAN_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \ NETIF_F_FRAGLIST | NETIF_F_GSO_SOFTWARE | \ - NETIF_F_HIGHDMA | NETIF_F_LRO) + NETIF_F_HIGHDMA | NETIF_F_LRO | \ + NETIF_F_GSO_ENCAP_ALL) #define TEAM_ENC_FEATURES (NETIF_F_HW_CSUM | NETIF_F_SG | \ NETIF_F_RXCSUM | NETIF_F_GSO_SOFTWARE) -- 2.39.5