Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp8941100rwr; Thu, 11 May 2023 08:04:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4fhyRctWn4IsFjBzZSk1rcAAMHi0huX5LRkMPDAXLQgJa2JX2bNVw4LHVcHnkeUREHSiIF X-Received: by 2002:a05:6a20:7d8c:b0:ef:e240:b552 with SMTP id v12-20020a056a207d8c00b000efe240b552mr28808332pzj.46.1683817490665; Thu, 11 May 2023 08:04:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683817490; cv=none; d=google.com; s=arc-20160816; b=eVb0LWpD/SYzQUnKDhx7usT2kzWRIB8/1MZdNUn9ulEhPP7wQn9wok5r7Jgk3KRVJ2 TBmoJXAVlyN+QapFF7zSxFtAia/eQtlkbVlQU98p3HPMTpQpKPC8kkhO18xuzREJZFdY kpVotvXp/3Kd90fMYgzd2AxEjcUCuMc/29HSs3WC8wmFCNYVoDRnIybqnAxvM+zppVlJ +rNKK1Y1lVRZhyizepGNO0P71FjtNwvNcWFhPJrimtzWAgzrvaUu/Hx93gBSe+HR4mR4 YGTKoXH7sx4X5UBCX+5N+Eufi0qykSaVgPQN78rV8Lo5oV+OzL7jPL8XfG6avDglVg+P 6yNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date; bh=xxdi6ZJKWvOlGE4vCw2EV4dhmp9eRo37BXgvAsbVCI0=; b=FssEyG1X7YHdz+TLq+YXgQLJv33Fnta52FkYFIHeqYEcLU1CPBu62GmIy9LFazj0bT 1AJZ6I3vNvdYcX6c8vNpndCFazOmyGJgsH2BdqeS9HKdXNQVyCNkT6x4cWkPvuAdzNID SpQ65V8zedj99ut8wmlKXMyXj40rTeMCpeYOlNDkqS6NVspVXQCSSAzHRvPjAFh39oWV JRNKzxmOP1H+SHFxE/rTJ6EoexXTJwc8IyLSQ1JTML9fd4pgp/eGXfZCqcVaA+RM3xyP mW6LdDqGHjHYsCIBvEwJGXsBsdvvLKNMrA+gOV/dcn+1oWV0C3Nzyyo6ezfZN3bB+xB9 /z9Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b197-20020a6334ce000000b0052ca3209fc0si7314877pga.651.2023.05.11.08.04.37; Thu, 11 May 2023 08:04:50 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238638AbjEKOya (ORCPT + 99 others); Thu, 11 May 2023 10:54:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238451AbjEKOyF (ORCPT ); Thu, 11 May 2023 10:54:05 -0400 Received: from hust.edu.cn (mail.hust.edu.cn [202.114.0.240]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DBF6C120AF; Thu, 11 May 2023 07:52:46 -0700 (PDT) Received: from iccccc$hust.edu.cn ( [172.16.0.254] ) by ajax-webmail-app2 (Coremail) ; Thu, 11 May 2023 22:52:25 +0800 (GMT+08:00) X-Originating-IP: [172.16.0.254] Date: Thu, 11 May 2023 22:52:25 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: =?UTF-8?B?5YiY5rWp5q+F?= To: "david s. miller" , "david ahern" , "eric dumazet" , "jakub kicinski" , "paolo abeni" Cc: hust-os-kernel-patches@googlegroups.com, yalongz@hust.edu.cn, error27@gmail.com, "dongliang mu" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v2] net/ipv6: silence 'passing zero to ERR_PTR()' warning X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20220802(cbd923c5) Copyright (c) 2002-2023 www.mailtech.cn hust In-Reply-To: <20230413101005.7504-1-iccccc@hust.edu.cn> References: <20230413101005.7504-1-iccccc@hust.edu.cn> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <5bd5bfa.4758.1880b4c8bb2.Coremail.iccccc@hust.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: GQEQrADHJswpAV1kAbTIAA--.8017W X-CM-SenderInfo: bxsqjiirqqkko6kx23oohg3hdfq/1tbiAQkIEWRcidIctgABsZ X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HK_RANDOM_ENVFROM, HK_RANDOM_FROM,SPF_HELO_PASS,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 Cgo+IC0tLS0t5Y6f5aeL6YKu5Lu2LS0tLS0KPiDlj5Hku7bkuro6ICJIYW95aSBMaXUiIDxpY2Nj Y2NAaHVzdC5lZHUuY24+Cj4g5Y+R6YCB5pe26Ze0OiAyMDIzLTA0LTEzIDE4OjEwOjA1ICjmmJ/m nJ/lm5spCj4g5pS25Lu25Lq6OiAiRGF2aWQgUy4gTWls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