Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation/bpf: Use valid and new links in index.rst

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 <yangtiezhu@loongson.cn>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/1596184142-18476-1-git-send-email-yangtiezhu@loongson.cn

authored by

Tiezhu Yang and committed by
Daniel Borkmann
ffba964e 1acf8f90

+8 -6
+6 -6
Documentation/bpf/index.rst
··· 5 5 This directory contains documentation for the BPF (Berkeley Packet 6 6 Filter) facility, with a focus on the extended BPF version (eBPF). 7 7 8 - This kernel side documentation is still work in progress. The main 8 + This kernel side documentation is still work in progress. The main 9 9 textual documentation is (for historical reasons) described in 10 - `Documentation/networking/filter.rst`_, which describe both classical 11 - and extended BPF instruction-set. 10 + :ref:`networking-filter`, which describe both classical and extended 11 + BPF instruction-set. 12 12 The Cilium project also maintains a `BPF and XDP Reference Guide`_ 13 13 that goes into great technical depth about the BPF Architecture. 14 14 ··· 68 68 69 69 70 70 .. Links: 71 - .. _Documentation/networking/filter.rst: ../networking/filter.txt 71 + .. _networking-filter: ../networking/filter.rst 72 72 .. _man-pages: https://www.kernel.org/doc/man-pages/ 73 - .. _bpf(2): http://man7.org/linux/man-pages/man2/bpf.2.html 74 - .. _BPF and XDP Reference Guide: http://cilium.readthedocs.io/en/latest/bpf/ 73 + .. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html 74 + .. _BPF and XDP Reference Guide: https://docs.cilium.io/en/latest/bpf/
+2
Documentation/networking/filter.rst
··· 1 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 + .. _networking-filter: 4 + 3 5 ======================================================= 4 6 Linux Socket Filtering aka Berkeley Packet Filter (BPF) 5 7 =======================================================