Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1519272ybg; Wed, 29 Jul 2020 16:55:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzICWSWm5v4GHb3tW2tnXMWo0ReMb91N9lTFPn6A9YxicHp0ptLk/9uDQbterErM2YaswM3 X-Received: by 2002:a50:fc8d:: with SMTP id f13mr220322edq.380.1596066913711; Wed, 29 Jul 2020 16:55:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596066913; cv=none; d=google.com; s=arc-20160816; b=auKd+PpZqkRew5uNddS+y4Gg3Hx2Sklyqbeg2KYqyNpqOVH/0Na0DF8Qd1WgsY8EIs a1V4vh8CsOFdURcFZg2KtKbaIqr1bW9w3tRYMJ9SOaSwqqGWHN0FHpGdJ8iYmId6G7wt QUJIp+PwRrlIXImqLDW9JMja/+CY7UJ/ASSh8F+up7SN7cZfLBKvz+Ekv6r5T/YJN8Vb CA5DSqea91o+ov8pNhrmLwgtHyQDDNGxcknJbVVH3bVR/maQj/Eh/OQsn4U4+byRrZ95 Q2/UY8Vw5fAy9chtSXs/kb9949XiOTEjcXWPq5mBzCTpTk9kM9mmlrl00gZdkh4C9Tsr 8LMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=ltOYmOnQCY0fIgYk7ROqAVEEA+jYsSkIcMGWnS59UkI=; b=Sfyolt9qNzL0X/NnKFQcoU2YBIsrQNM3rUXzV5xOhvpR5Xy43+r59GW58npS59OYb6 V5FnCAilMlIQBbdkKcMse0bAWKxfTq6XKOcPkDMGl6yYB8kOOvbQ4vbywKE+BzTnysIl s2FmyWwGx1i76qIfjztWMgiDhbCVNaiytb1GT/qh1YXJfi0pBMexb9nlYb8h5LpA0DDu xF2xykQyyO3xCxrsKR9RPXtjejO3mBLr/hZpDlKARKHTg80ouHADUy34Skyvq7o9z5Y9 JPooyn+WNHlPU+PUXy5P99q2Yo8mSrQj1Unk9Nq+q6LRtpuW2mGPRIaxRUcoWriomDWz WB5A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c18si2020150eds.417.2020.07.29.16.54.51; Wed, 29 Jul 2020 16:55:13 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728104AbgG2Xyk (ORCPT + 99 others); Wed, 29 Jul 2020 19:54:40 -0400 Received: from mail.loongson.cn ([114.242.206.163]:54326 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727072AbgG2Xyk (ORCPT ); Wed, 29 Jul 2020 19:54:40 -0400 Received: from [10.130.0.75] (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dx+MUmDCJf0kQCAA--.211S3; Thu, 30 Jul 2020 07:54:15 +0800 (CST) Subject: Re: [PATCH bpf-next v2] Documentation/bpf: Use valid and new links in index.rst To: Song Liu References: <1596028555-32028-1-git-send-email-yangtiezhu@loongson.cn> Cc: Jonathan Corbet , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , John Fastabend , KP Singh , "Tobin C. Harding" , Mauro Carvalho Chehab , Linux Doc Mailing List , Networking , bpf , open list From: Tiezhu Yang Message-ID: <47f0bdaf-4c43-05be-3c94-3b5134402e2f@loongson.cn> Date: Thu, 30 Jul 2020 07:54:14 +0800 User-Agent: Mozilla/5.0 (X11; Linux mips64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID: AQAAf9Dx+MUmDCJf0kQCAA--.211S3 X-Coremail-Antispam: 1UD129KBjvJXoW7CFWkGw1DAFyrJw1UCFWUtwb_yoW8Zr43pF 4rGa1SkFs5tF43Xa97tF47Arya9ayfWF48ua4DJw1rZrn8XF109r1Sgrs0g3W2vryFvFWr Za4SqF90qr1ku3DanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvEb7Iv0xC_Cr1lb4IE77IF4wAFF20E14v26ryj6rWUM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVWxJVW8Jr1l84ACjcxK6I 8E87Iv6xkF7I0E14v26r4UJVWxJr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xv F2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r 4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwACI402YVCY1x02628vn2kIc2xK xwCYjI0SjxkI62AI1cAE67vIY487MxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r 1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CE b7AF67AKxVW8ZVWrXwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0x vE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwCI42IY6xAIw20EY4v20xvaj40_WFyUJVCq3wCI 42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWI evJa73UjIFyTuYvjxU2jXdUUUUU X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/30/2020 05:06 AM, Song Liu wrote: > On Wed, Jul 29, 2020 at 6:17 AM Tiezhu Yang wrote: >> There exists an error "404 Not Found" when I click the html link of >> "Documentation/networking/filter.rst" in the BPF documentation [1], >> fix it. >> >> Additionally, use the new links about "BPF and XDP Reference Guide" >> and "bpf(2)" to avoid redirects. >> >> [1] https://www.kernel.org/doc/html/latest/bpf/ >> >> Fixes: d9b9170a2653 ("docs: bpf: Rename README.rst to index.rst") >> Fixes: cb3f0d56e153 ("docs: networking: convert filter.txt to ReST") >> Signed-off-by: Tiezhu Yang >> --- >> >> v2: >> - Fix a typo "clik" to "click" in the commit message, sorry for that >> >> Documentation/bpf/index.rst | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/Documentation/bpf/index.rst b/Documentation/bpf/index.rst >> index 26f4bb3..1b901b4 100644 >> --- a/Documentation/bpf/index.rst >> +++ b/Documentation/bpf/index.rst >> @@ -68,7 +68,7 @@ Testing and debugging BPF >> >> >> .. Links: >> -.. _Documentation/networking/filter.rst: ../networking/filter.txt >> +.. _Documentation/networking/filter.rst: ../networking/filter.html > This should be filter.rst, no? Hi Song, Thanks for your reply. I use filter.rst first, but it still appears "404 not found" when I click this link after "make htmldocs", so I use filter.html finally. Am I missing something? Is the test method OK? Please correct me if I am wrong. Thanks, Tiezhu > >> .. _man-pages: https://www.kernel.org/doc/man-pages/ >> -.. _bpf(2): http://man7.org/linux/man-pages/man2/bpf.2.html >> -.. _BPF and XDP Reference Guide: http://cilium.readthedocs.io/en/latest/bpf/ >> +.. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html >> +.. _BPF and XDP Reference Guide: https://docs.cilium.io/en/latest/bpf/ >> -- >> 2.1.0 >>