Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20560578rwd; Thu, 29 Jun 2023 04:10:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7bfveuucED0tZdYJWF1lFx52wGSPOjzZwzXKerjQ1CYabm1QdjAOFoV7/BzbICbtF6fkXq X-Received: by 2002:a92:4b12:0:b0:345:d0c1:12b5 with SMTP id m18-20020a924b12000000b00345d0c112b5mr3500049ilg.26.1688037028288; Thu, 29 Jun 2023 04:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688037028; cv=none; d=google.com; s=arc-20160816; b=uWco1abPRjDtiKIbGs1Si9SVJZy7eXHJ3ti3Muqc2DmveCC4Pkt5hj67lXlUdPe+8Y ADcD5Vl/45k3kam3FGdBgzSU6Vcuk8hEoro+S1tVaYS7JW/vHk38XXXgDhPruIYUlpKs IpHCwPTKVPKQUTN+l7CPxwBgxvsU+L8XyprscNRHNHWsIe7nDLSYs1s6AfoYoOmRxBgm 3HAmk7O0cmXqQzoN8+FX1swCsw5he0lOi65kwtnlR/JbXNPmiWNYLAh6qJeyaRXXoDqM m71Rna/2RxiW/b0cVGObm+6I26YDLG7s5QWP2wA+CuoEQCjF7t96gOLrZjMc5HCHEgPv OmHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=1Bc1SqEnFsskSLnHHMk9CYcfhixRzxz4BpTXdjjVyoI=; fh=f3jyR4bOAK/D05MneZqgs6jrZBaeveS2PlgVVUd5uJQ=; b=cAIG1aA1TloVfWVCQRj7rRrf32cbb60J1ZPXJm4qP37Dwnfly7xK4iTydd9g4SCgPT r9KLD+TtuUyPKbjc4+Hw8ZiBQ9xqz2v8c9t6dvEl3qnJfnagDoq/Ldz2Rg6Io53degJi GLQbJV/Cy7huM6axQGzXX6G9TpVeQGvt5f2OCSyniaHkWsHvARJKYs8rKJp2tqt0QeJh ZAlPwBRFb13oCTENsUuRIcUZzHd7gYPIr2qH2GVgINA2HBJ7bbqvjPhUhJvlQ4lRlfyL 1eLng0yzbfA9vWpcnny+3umQUqaqF3RSi1ljNk6TAWt0FyJ5A3SZ68DPfNKK0EhiVsMj 2JLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=H5kYKgzR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b1-20020a630c01000000b0054fd670e85fsi10315546pgl.233.2023.06.29.04.10.13; Thu, 29 Jun 2023 04:10:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=H5kYKgzR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231996AbjF2KwL (ORCPT + 99 others); Thu, 29 Jun 2023 06:52:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231557AbjF2Kvg (ORCPT ); Thu, 29 Jun 2023 06:51:36 -0400 Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF03A35A7; Thu, 29 Jun 2023 03:50:58 -0700 (PDT) Received: by mail-vs1-xe30.google.com with SMTP id ada2fe7eead31-440954dc5fcso194125137.2; Thu, 29 Jun 2023 03:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688035858; x=1690627858; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1Bc1SqEnFsskSLnHHMk9CYcfhixRzxz4BpTXdjjVyoI=; b=H5kYKgzRi3u4fLHhcDn3/9RT2+SXXz1L45No9cl2Up2JuZim36+ixeOpcKNsRrsQpQ XVSk4/XTl610ymeWvNNtDYD4icqSqrKzbByxbL1rkL0Xu9li0qynzBnL4czPkzEzh2y4 rmEnLoJ0IIcW5o64XF9zMkUPb5sMYVr66ni+1R4ryOTyEFsdcByfvUxvbHDiVbrPC57P O6OyT4cvRzO3wa/g7tVg2dn4YakPO61TpxpM7+ngc8z4u1dUT0Q8PaLeFUBhcfDi+fzI I+G7QuTQro0yQ732af8DTzF3jVE/xkThSFHf2I7bIAZVLk0F9qJt2HrDoqCGN6kvQYCm AKxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688035858; x=1690627858; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1Bc1SqEnFsskSLnHHMk9CYcfhixRzxz4BpTXdjjVyoI=; b=JCZYTyJ19noACPcVtORHI5ZRMn6S/on7uYwFxcY9ayaRLiv0eyX+lefxW/yvEyMaCZ dECSGPD/r/Yr6FipUWRyTiDd3cJdJ32BczudZqTu8ujc9Gin7p28IHNhR7G1GQOnmC25 x9sd/zwoxfhjy4lK7vaJnZLNghX1kGeWKhvkoAMy94+rbbUDe+yhagfOE9320t2MJArE 4mhf1/OQD/UyOQWeL+5LKfcWJ48295GjsMg7SV2vccUFW+4PzxYu2V+Y7+56LHwYIS3n LigDFv68IYUM0kUvzKAPkOEKWQLZ5uH7OsKUyVush8T5k1KCFjiUyM50WBonBQOUQTRj UAxA== X-Gm-Message-State: ABy/qLYz+PS24RdoTzm3VbJ3Vm5egK0a66oc5UMV7VX6jEtpr0fHdgPi L4bAPJ+Krj4vtkSh3A6d3MjBOPwLKx7kK6Wk24E= X-Received: by 2002:a05:6102:e55:b0:444:c1f6:5e3a with SMTP id p21-20020a0561020e5500b00444c1f65e3amr367807vst.25.1688035857761; Thu, 29 Jun 2023 03:50:57 -0700 (PDT) MIME-Version: 1.0 References: <22aad588-47d6-6441-45b2-0e685ed84c8d@intel.com> <0a040331995c072c56fce58794848f5e9853c44f.camel@redhat.com> <486ae2687cd2e2624c0db1ea1f3d6ca36db15411.camel@redhat.com> <5688456234f5d15ea9ca0f000350c28610ed2639.camel@redhat.com> In-Reply-To: From: Ian Kumlien Date: Thu, 29 Jun 2023 12:50:45 +0200 Message-ID: Subject: Re: [Intel-wired-lan] bug with rx-udp-gro-forwarding offloading? To: Paolo Abeni Cc: Alexander Lobakin , intel-wired-lan , Jakub Kicinski , Eric Dumazet , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 28, 2023 at 10:18=E2=80=AFPM Ian Kumlien wrote: > > On Wed, Jun 28, 2023 at 5:15=E2=80=AFPM Paolo Abeni w= rote: > > > > On Wed, 2023-06-28 at 14:04 +0200, Ian Kumlien wrote: > > > So have some hits, would it be better without your warn on? ... Thing= s > > > are a bit slow atm - lets just say that i noticed the stacktraces > > > because a stream stuttered =3D) > > > > Sorry, I screwed-up completely a newly added check. > > Thats ok > > > If you have Kasan enabled you can simply and more safely remove my 2nd > > patch. Kasan should be able to catch all the out-of-buffer scenarios > > such checks were intended to prevent. > > I thought I'd run without any of the patches, preparing for that now, > but i have to stop testing tomorrow and will continue on monday if i > don't catch anything So, KASAN caught the null pointer derefs, as expected, but it caught two of them which i didn't expect. Anyway, I'm off for the weekend so, I hope to be able to send something better on Monday, fyi > > Cheers, > > > > Paolo > >