aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHengqi Chen <hengqi.chen@gmail.com>2021-04-24 10:12:08 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2021-04-27 17:31:09 +0200
commit2551c2d19c04cd1c7b6c99ec04a8ff08193b0ccc (patch)
treea028cb95984511d3e47997b3e8f83900d303fbd4
parentbpf, cpumap: Bulk skb using netif_receive_skb_list (diff)
downloadlinux-dev-2551c2d19c04cd1c7b6c99ec04a8ff08193b0ccc.tar.xz
linux-dev-2551c2d19c04cd1c7b6c99ec04a8ff08193b0ccc.zip
bpf, docs: Fix literal block for example code
Add a missing colon so that the code block followed can be rendered properly. Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20210424021208.832116-1-hengqi.chen@gmail.com
-rw-r--r--Documentation/networking/filter.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/filter.rst b/Documentation/networking/filter.rst
index 251c6bd73d15..3e2221f4abe4 100644
--- a/Documentation/networking/filter.rst
+++ b/Documentation/networking/filter.rst
@@ -327,7 +327,7 @@ Examples for low-level BPF:
ret #-1
drop: ret #0
-**icmp random packet sampling, 1 in 4**:
+**icmp random packet sampling, 1 in 4**::
ldh [12]
jne #0x800, drop