Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3589877pxb; Mon, 9 Nov 2020 15:37:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1uSXM2iUuI7ctDFctA35fCSt0jObqJ0t8I9xBHF5hZiGIpkp6gtzr6V8CVAK0UgLii+i4 X-Received: by 2002:a50:99d6:: with SMTP id n22mr18381849edb.261.1604965058345; Mon, 09 Nov 2020 15:37:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604965058; cv=none; d=google.com; s=arc-20160816; b=llb0Q0zqBC6H6k7bxseaj01FhNFGvrwcTwGka2pbXgGThlZR9Yv1DbFZaFwml2mVWh tIGwD7el9j/qfR1IFI/xysf0G9OE1+dFhWzHZSTLTnPT6DDqeVrsvmr7UgFXJqL1HhZt dgjqr/p9DYf/SI+YUbsoi/cid/zrj76egAEv1/f9HjjjQr+9I5l/ntdyY4aj6TMcrmji HsdG/VXNGijwJcmIaUDD494yXqIPpljk/VIyXZfRe1+8hHj9jy2haB1XpStHeInJRsIy rBEkC7FXkjEeg2O8EHGOlCjUwtcZFBH4kuDdoY+y8VYnaGidtRrJk9oQqeqUWPxcs9FH dX7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=TRxXCgaE15C0k6XBtuc6PMRdlGWdL4cI78TMkWtQBQk=; b=TNkotFL4jwVkLJgP7313cmlCuWUHWxgefM7yqchBxIj0ldQK1gDMef61etwy0hqjsb M9fNGEWqYVde5m/ja3aUFNvDLNHY4DYQBYE63UxoJnOBusseG9cq+suDQciSbsK6MJn+ hQLUZaUTStw96TUzl2F/A8OT0c/Fg0Pu8VG00TYGLIRt5Mb9pRDZmOGskyQmA1jhjscl bMozdbEy0rZIV9AxKgqPDA3GMbukIslazG0u50FcCfgy8yxmpcNf4It2Qo0o+fRhANVK /CSy+Q/OyzXgHzDQYhdAT/yiYDUPER6IAzlAG9twFp6/dtDdRkVtEYZkZ/tQQDbOTERX 1sAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=pVaSw2zz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a24si8282338ejr.522.2020.11.09.15.37.15; Mon, 09 Nov 2020 15:37:38 -0800 (PST) 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=@pm.me header.s=protonmail header.b=pVaSw2zz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729987AbgKIXdb (ORCPT + 99 others); Mon, 9 Nov 2020 18:33:31 -0500 Received: from mail-40136.protonmail.ch ([185.70.40.136]:26353 "EHLO mail-40136.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729243AbgKIXd3 (ORCPT ); Mon, 9 Nov 2020 18:33:29 -0500 Date: Mon, 09 Nov 2020 23:33:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1604964807; bh=TRxXCgaE15C0k6XBtuc6PMRdlGWdL4cI78TMkWtQBQk=; h=Date:To:From:Cc:Reply-To:Subject:From; b=pVaSw2zzPi8pFABans0RWt+QYul5aK/b6B7012+xFmK0O+5LxaVCIClUrczl5e4N6 x7Yt5LbSjuerxhWyQcurLvuqeQ0KkOM4db4kYh1p9XJyuVdyoubTPl2jup9h+9Nxey Pq41BioU1FSBbh1egQgfB8NWVdZ7REKki6ehVDDNgae0zhV7e6DPqEgCEh7DTlXVdc bgG3lcsreOB/ch7RroWENCVWlUUyCsE/3af72NIRopwAxE9ymAxdEGMxIL29I2nK88 aC43Tce4P9jPiJtVM2vHgfoq7UZAGGLNZiWMm1xvXc5Y2R1XPQSOgKuPKfXF43gHaK MRxzkvF04M70Q== To: Eric Dumazet From: Alexander Lobakin Cc: Alexander Lobakin , "David S . Miller" , Jakub Kicinski , Eric Dumazet , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: Re: [PATCH net-next 0/2] inet: prevent skb changes in udp{4|6}_lib_lookup_skb() Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Eric Dumazet Date: Mon, 9 Nov 2020 15:13:47 -0800 > From: Eric Dumazet > > This came while reviewing Alexander Lobakin patch against UDP GRO: > > We want to make sure skb wont be changed by these helpers > while it is owned by GRO stack. > > Eric Dumazet (2): > inet: constify inet_sdif() argument > inet: udp{4|6}_lib_lookup_skb() skb argument is const For the series: Acked-by: Alexander Lobakin Thanks! > include/net/ip.h | 2 +- > include/net/udp.h | 6 +++--- > net/ipv4/udp.c | 2 +- > net/ipv6/udp.c | 2 +- > 4 files changed, 6 insertions(+), 6 deletions(-) > > -- > 2.29.2.222.g5d2a92d10f8-goog Al