Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9438C433EF for ; Tue, 12 Jul 2022 13:06:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232559AbiGLNGf (ORCPT ); Tue, 12 Jul 2022 09:06:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232686AbiGLNGe (ORCPT ); Tue, 12 Jul 2022 09:06:34 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B8356B4BD2 for ; Tue, 12 Jul 2022 06:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1657631190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5/CeT2ojjQEER/enNmFp+mqLwealH1XntHPCyccrO8c=; b=W1kY0HxMBSrbBjyMuCvlK88ZI+SZ6qG8aUEbAYjYAV0wMo6vmg9KXAV4hRaTrWowB+sC36 4PDzgdd2ra0jMKvpdgZYYAkRI3JxXPdwMJYisfGncwUqHDjK+b8QT/IHrc1SLnDrwwEGvW LNT6m6YFak7g1QhA0Oy3fEDPlqrKvAY= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-639-ktLUtBtLPueqOeeunsrpLQ-1; Tue, 12 Jul 2022 09:06:29 -0400 X-MC-Unique: ktLUtBtLPueqOeeunsrpLQ-1 Received: by mail-wm1-f70.google.com with SMTP id n18-20020a05600c501200b003a050cc39a0so4052167wmr.7 for ; Tue, 12 Jul 2022 06:06:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=5/CeT2ojjQEER/enNmFp+mqLwealH1XntHPCyccrO8c=; b=HFZrbZjg+9tQ7cSVQWzGtZqlpNeKfCP9eN34iU1i1tPsWY4njp2kH0rHT0oEv5aO8G BcSacQY4XObPxCs3On+bS3oziJgoXShJ+2eoRyayfYhg1eALtcAC2KuLUbiyFXhXum5x WpUvmR0HqegN5nS0twiSMWdREtq0pHJq7QdHMjz8GB7erZvtlJ72LnnCNhjKMXJhAJ8G O6ByLJbl2oIcaEIuQJB6VaIjtN9MjQT6OZDslu9wVfE5i8zel2cD9i20XlL9eZtqnHS4 xcQZb3cwFD//VrN/HmHZYchaxnianTu2kfNKPR3WC9RUH7rk7rOKwuJAK6HwBwVhA6nQ IYwg== X-Gm-Message-State: AJIora++4/Si9Zz/OHpyKYcvM6ICFsPSbwbBoZVr3uC0w1UUnu22c7tc E7529lUHlZJaL+QF4BLbvABGx5VlnnX4q6xGvBIX3RAs4x//GSSyBbCEySiYDQ1eBeP1pCQBx1Q OH67mtb7AOgTbyKTn X-Received: by 2002:a05:6000:1282:b0:21d:6afa:35ca with SMTP id f2-20020a056000128200b0021d6afa35camr22092024wrx.452.1657631187523; Tue, 12 Jul 2022 06:06:27 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tBspQk4B0/EnMPbtKuqFZnqeT0SFrU/OxTovC2mES5+VJIPNhM4CSqY2uXl/P+dh5+ioy2yQ== X-Received: by 2002:a05:6000:1282:b0:21d:6afa:35ca with SMTP id f2-20020a056000128200b0021d6afa35camr22091986wrx.452.1657631187137; Tue, 12 Jul 2022 06:06:27 -0700 (PDT) Received: from gerbillo.redhat.com (146-241-97-238.dyn.eolo.it. [146.241.97.238]) by smtp.gmail.com with ESMTPSA id c187-20020a1c35c4000000b0039aef592ca0sm9539911wma.35.2022.07.12.06.06.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 06:06:26 -0700 (PDT) Message-ID: Subject: Re: [PATCH net] r8152: fix accessing unset transport header From: Paolo Abeni To: Hayes Wang , kuba@kernel.org, davem@davemloft.net Cc: netdev@vger.kernel.org, nic_swsd@realtek.com, linux-kernel@vger.kernel.org Date: Tue, 12 Jul 2022 15:06:25 +0200 In-Reply-To: <20220711070004.28010-389-nic_swsd@realtek.com> References: <20220711070004.28010-389-nic_swsd@realtek.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, 2022-07-11 at 15:00 +0800, Hayes Wang wrote: > A warning is triggered by commit 66e4c8d95008 ("net: warn if transport > header was not set"). The warning is harmless, because the value from > skb_transport_offset() is only used for skb_is_gso() is true or the > skb->ip_summed is equal to CHECKSUM_PARTIAL. > > Signed-off-by: Hayes Wang If this is targeting the -net tree please add a suitable Fixes tag, thanks! Paolo