diff options
author | Jakub Wilk <jwilk@jwilk.net> | 2020-10-07 07:57:17 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-10-07 19:59:37 +0200 |
commit | 49f3d12b0f70ea867b891ad2a97f6e51bb564e18 (patch) | |
tree | 2aeb696a6fd91449e102150a7a121cb390dd9819 | |
parent | bpf: Fix build failure for kernel/trace/bpf_trace.c with CONFIG_NET=n (diff) | |
download | linux-49f3d12b0f70ea867b891ad2a97f6e51bb564e18.tar.xz linux-49f3d12b0f70ea867b891ad2a97f6e51bb564e18.zip |
bpf: Fix typo in uapi/linux/bpf.h
Reported-by: Samanta Navarro <ferivoz@riseup.net>
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20201007055717.7319-1-jwilk@jwilk.net
-rw-r--r-- | include/uapi/linux/bpf.h | 2 | ||||
-rw-r--r-- | tools/include/uapi/linux/bpf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h index c446394135be..d83561e8cd2c 100644 --- a/include/uapi/linux/bpf.h +++ b/include/uapi/linux/bpf.h @@ -2253,7 +2253,7 @@ union bpf_attr { * Description * This helper is used in programs implementing policies at the * skb socket level. If the sk_buff *skb* is allowed to pass (i.e. - * if the verdeict eBPF program returns **SK_PASS**), redirect it + * if the verdict eBPF program returns **SK_PASS**), redirect it * to the socket referenced by *map* (of type * **BPF_MAP_TYPE_SOCKHASH**) using hash *key*. Both ingress and * egress interfaces can be used for redirection. The diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index c446394135be..d83561e8cd2c 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -2253,7 +2253,7 @@ union bpf_attr { * Description * This helper is used in programs implementing policies at the * skb socket level. If the sk_buff *skb* is allowed to pass (i.e. - * if the verdeict eBPF program returns **SK_PASS**), redirect it + * if the verdict eBPF program returns **SK_PASS**), redirect it * to the socket referenced by *map* (of type * **BPF_MAP_TYPE_SOCKHASH**) using hash *key*. Both ingress and * egress interfaces can be used for redirection. The |