Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1691014pxj; Wed, 19 May 2021 11:33:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRLkTrW9k1G+iLICZqpe8wkBS5vQK2vW/jR3i6HbfGMLQ3jkCSXEzFakb9aJLM5h0xKbCZ X-Received: by 2002:a05:6402:22c9:: with SMTP id dm9mr410864edb.281.1621449216866; Wed, 19 May 2021 11:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621449216; cv=none; d=google.com; s=arc-20160816; b=gkZbXq0itk8fAhgN2QGFtko+VPYZ9ZA31fmQMMVtRrvohatTKjSq1YJlQmSvF1I1On +BokLWbZOav1DA3qKDOfD6e/8aqSHG705Jmn2DiVLBEztVIlCtGEIstTd+JXKNopH1mf R7KgFkAhE2DKm+QlCSHe1T2nXvX74DnRWMw9tciBJTkr3rSwDc/A5tYpqqPrIsvKGpLV TQE+8mbm+SrZMnOnh2+jEM/oweGxzb5yCE9bmr9HMVfsvqUmvIacS/P+GdhO7/vlEURW nBZu7G7067xggm+nlOb1Zd+2n86QP9DiSplJbQjcfsl+dq7l0zsPS2MivVCVZhoadfWT qw1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=2uvQdrveB7tyBxBHYgBi0JsJx1pdeaoo2G83a51D81M=; b=aF/2Lu+K/2AEiE1XqQn23ZsN8uSICkpkRTqDmk3/yczwbZJqvJDk9to/IkkSlDyZEr /qF2ZU01nHA75BMrz0JBGX/ahazNOjWbU/7A/PExl+I4qEN2GELUm0bbUbwGP/IPA1vR JUkdDmqJhm6rQ0ZQrsdWhHy6Xs4AzP1njbMIkACZehPQXm4+AiqueKJg49kBrCSx2qFI h6xrdiLWkWb5LB7l2vMuDTf3d/tRlnGw7rEdDsSZnhzmKlVUm5u1t/epbHnZHRnq9k9L h5+3OFh4hBGxIfno7TGXFnz415Gp4MJmOV4LehlPFbTQNwGPJ6Snza4ik7Vh+VicrG/F PIPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SYApub6w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si290600ejc.644.2021.05.19.11.33.13; Wed, 19 May 2021 11:33:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SYApub6w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235974AbhERULg (ORCPT + 99 others); Tue, 18 May 2021 16:11:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:51624 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241268AbhERUL2 (ORCPT ); Tue, 18 May 2021 16:11:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id CF9AD6109F; Tue, 18 May 2021 20:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621368609; bh=SZ36Hy5Te3jHVc3bI2ZVgpRQzoaeNP06VB5M2NJjUpw=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=SYApub6wIa9BpfUJ0jvQBainFRbnqqW7TbkXfxjWg8x8ZnnkGyNw+9ROz8KcZI0x8 OYAc05Ovtev50CNiddhsGwxo4TsfQpGJiUDaZClGTuZYyAsX4cg4gi5LP6pvEQkreW YmTT5fuvD4/+PcAGeYk2i7hLO8WBi+WvvuwKZeU9NE+3T83UV0PVa6Dm8vc4KbqXTD ugEFFk6S86ohq5tIdIyZLg1zQMC00dj7JoBfJw4R68XJGtByuNUm8S+9r2JYlINBTW jVYmHm83ofJT4ByCfC3kWzQtMDsSpddt+gBBIE8Pz9Qf/i1doI6xYSyiMzemi3X4uZ pX904/qE3Cxfg== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id C278660A4F; Tue, 18 May 2021 20:10:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf-next v3] bpf: check for BPF_F_ADJ_ROOM_FIXED_GSO when bpf_skb_change_proto From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162136860979.28642.16769179799041516109.git-patchwork-notify@kernel.org> Date: Tue, 18 May 2021 20:10:09 +0000 References: <1620804453-57566-1-git-send-email-dseok.yi@samsung.com> In-Reply-To: <1620804453-57566-1-git-send-email-dseok.yi@samsung.com> To: Dongseok Yi Cc: willemdebruijn.kernel@gmail.com, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Wed, 12 May 2021 16:27:33 +0900 you wrote: > In the forwarding path GRO -> BPF 6 to 4 -> GSO for TCP traffic, the > coalesced packet payload can be > MSS, but < MSS + 20. > bpf_skb_proto_6_to_4 will upgrade the MSS and it can be > the payload > length. After then tcp_gso_segment checks for the payload length if it > is <= MSS. The condition is causing the packet to be dropped. > > tcp_gso_segment(): > [...] > mss = skb_shinfo(skb)->gso_size; > if (unlikely(skb->len <= mss)) > goto out; > [...] > > [...] Here is the summary with links: - [bpf-next,v3] bpf: check for BPF_F_ADJ_ROOM_FIXED_GSO when bpf_skb_change_proto https://git.kernel.org/bpf/bpf-next/c/fa7b83bf3b15 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html