Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1764590rwb; Fri, 2 Dec 2022 00:22:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf6B8cbfjmzJp1lE1wmtZO2H19F33gDArmQNBRZrvxrQWJS/YAKbqBHHxZuviGtLHI2Ax+SE X-Received: by 2002:a17:906:fd57:b0:7be:5c6f:e63c with SMTP id wi23-20020a170906fd5700b007be5c6fe63cmr23224091ejb.253.1669969320572; Fri, 02 Dec 2022 00:22:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669969320; cv=none; d=google.com; s=arc-20160816; b=frPPs5jaZN5PB+ZTh47dJHM6QSgnhZJ3kow4Q9r7qUBIwrsQK5joUqfUp4k5t7E6jz uVMjVcvo7pSuIe6JY4riNR5+QRx9U/ZsOmppVWrVTlLM96HUHB1cDpuWUhVD1c276rUH R8vjEz+zQ+wKnlSR3pAAmbYhLO4h5BLNGg7+kURMlRXjdu5aXL9IMRm1NhbfqWjQ3isC tS+NEy+1p9UU+rsu+bWWhhXKV1Odq0wu8ZFHhMatlxxiK9RANC08oQagP18+ElQECYSw J5AHDlK1IzE42hkh2Si8inu00vt1yP/LoCb6rfCEwu0AzF4kDnEWGkZ/NQdfnNfu/VXd LE3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=+T43LVSZmWOQ1RF7ipKsKvZ1M5eHXZPvbPsZyHip/NA=; b=RB9XX/7y4f8UkZfVUKBJ0svLjjVyvMG20iykRV5/HvC5asznFUG3n5RvfbEUR1ejx/ UfVyvEvMcacELyr/fw+IqquI9i8w+x5uKgVoHXy96maKvspL6B6BPKWZiZPxPA6haTW+ oItRPQkXxUchiyBApPKILr5s/bylGuuVvCcxWa5syO7uJhVlSPeHVHcHPkhlGQMB1ZyU e8WVn0GwffaQVWy74erNyO9Zd6o/c9w20whSsP+2JiW0VrLr74XRP5/ltxAmFJXrii1n tIoFWxTSjT1LMN18uFD6heAUz7bzN+w2CHo6jyji3ijc8SVcCf1xiSLbdb8Vuj6dCfzo SMqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=aCzpmoBk; dkim=neutral (no key) header.i=@linutronix.de; 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=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc5-20020a1709071c0500b007ba915548e5si6673612ejc.952.2022.12.02.00.21.37; Fri, 02 Dec 2022 00:22:00 -0800 (PST) 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=@linutronix.de header.s=2020 header.b=aCzpmoBk; dkim=neutral (no key) header.i=@linutronix.de; 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=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232634AbiLBH4d (ORCPT + 83 others); Fri, 2 Dec 2022 02:56:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232543AbiLBH4N (ORCPT ); Fri, 2 Dec 2022 02:56:13 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CB75AA8C1; Thu, 1 Dec 2022 23:54:41 -0800 (PST) From: Kurt Kanzenbach DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1669967678; 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: in-reply-to:in-reply-to:references:references; bh=+T43LVSZmWOQ1RF7ipKsKvZ1M5eHXZPvbPsZyHip/NA=; b=aCzpmoBkn+mB6yJjgdm+Utp80tXSMw7l4Y/4kjuWkXW5bEzUoZZsnHKskdBuz3q4QzQMKj om0OdY0z0Z/mKBDEY5tOYkJN1xcN1c0xTkvlFqEKpKnI5P2RY96niRTnn3BVA4/0bNZzo2 VZY/1F7KIhH8hf9wciuQmf75JadiDTxsmy88s0GGI2Tzn3i7d1fKDnJQTBiFYcrHWxHsax nLWdCmvfRVP6wjgLrFPSP0SYNGdXvzP2RB48uBIQHc5FPYu8c3h8YH2ZKZwlMul9T7M6Y+ gFo3L5KPCn3KyJ2hYNnjJfe7ExGxV88yZHuYIP5gzjGtE7ZqL5dC506oo0ARng== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1669967678; 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: in-reply-to:in-reply-to:references:references; bh=+T43LVSZmWOQ1RF7ipKsKvZ1M5eHXZPvbPsZyHip/NA=; b=odU2KTjHHfxOG21/bwHDYx98vXVW7BqdAs1zhEJ4aNjoOfWBMDzblZ0KHgvUvZmEoqQiRR u0y3rgEMkbd0VECQ== To: Artem Chernyshev , artem.chernyshev@red-soft.ru, Vladimir Oltean Cc: Andrew Lunn , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org Subject: Re: [PATCH v3 2/3] net: dsa: hellcreek: Check return value In-Reply-To: <20221201140032.26746-2-artem.chernyshev@red-soft.ru> References: <20221201140032.26746-1-artem.chernyshev@red-soft.ru> <20221201140032.26746-2-artem.chernyshev@red-soft.ru> Date: Fri, 02 Dec 2022 08:54:36 +0100 Message-ID: <87h6yes0jn.fsf@kurt> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu Dec 01 2022, Artem Chernyshev wrote: > Return NULL if we got unexpected value from skb_trim_rcsum()=20 ^ pskb_trim_rcsum() > in hellcreek_rcv() For the next time, a change log should rather explain *why* a change is made instead of *what* the patch is doing. Other than that, Reviewed-by: Kurt Kanzenbach --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEvLm/ssjDfdPf21mSwZPR8qpGc4IFAmOJrzwTHGt1cnRAbGlu dXRyb25peC5kZQAKCRDBk9HyqkZzgiZeEACZycYo7R3gBb9NfgWODxFrrXOgR6jI svJW/OaEEDv+xaFP8OetWRR08gqlDaynBMLJSKUxOnJR9cF6eSUp0KkGy4kKHO3g iCLEyJpmh7zum3b9vjXS9TA9ePHiWxIvkWgm7PTBDBSVwztadIf4H7S3UU8I2Mac Gzjc69V+beYJBoEBfwa7o9OoPI0VQ2yYqmDMJQ9q8oyQVgc1XRaHQEPYj+GOhHvv flNMC/uzeh8u2Ld8Rw5pzGZ7AO0DXCDpRIKdbnlLcMNysVJeMc9VqwIb0ifh7+4s HHJo0C8AzZ9LkNVvNFtFKnj+Ge16Dvnb+16aqv6SmJXFuj//0QbwtYBWaMC6nYXG 4zPRcI+m/LhvwcbEsjXzuKWdHPOodxt7bnOLDQZvJOcmwZiEtj0nL8kdIeq0L418 0wFiAg5TWudB6xDyhqg2hP4wwsQ1wv5MN0gGSOQQvBaff48HxZdakmdK8aqiprkB MKRJHBMUE8v6NEy8H7rKWcGH3EmJrqJ926hwPC4vQgAbnZ1tVPuP+xWUJPROmwNQ omf811iOtGwUK0jBDmDG7tpQtuVHOsNHFcL8pFRnzeJ4WUEFxH2g2U+rZxuMyR85 uGd6c7PX0v2hOlPg92p44iX8rMxsONbFgmKNfK5FeH9He5WQfbJI1D69EjIpqPbr 57InUdUSyyEhSg== =z5S+ -----END PGP SIGNATURE----- --=-=-=--