summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorShaomin Deng <dengshaomin@cdjrlc.com>2022-10-17 17:23:03 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2022-10-19 21:21:49 +0300
commit01dea9548f6c88dc23dc5916eecd3555b82c8fec (patch)
treeab3f5c1583de8f5e2010e915ad5f952cff2da20c /samples
parent7a698edf954cb3f8b6e8dacdb77615355170420c (diff)
downloadlinux-01dea9548f6c88dc23dc5916eecd3555b82c8fec.tar.xz
samples/bpf: Fix double word in comments
Remove the repeated word "by" in comments. Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com> Link: https://lore.kernel.org/r/20221017142303.8299-1-dengshaomin@cdjrlc.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf/hbm_edt_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/hbm_edt_kern.c b/samples/bpf/hbm_edt_kern.c
index a65b677acdb0..6294f1d716c0 100644
--- a/samples/bpf/hbm_edt_kern.c
+++ b/samples/bpf/hbm_edt_kern.c
@@ -35,7 +35,7 @@
*
* If the credit is below the drop threshold, the packet is dropped. If it
* is a TCP packet, then it also calls tcp_cwr since packets dropped by
- * by a cgroup skb BPF program do not automatically trigger a call to
+ * a cgroup skb BPF program do not automatically trigger a call to
* tcp_cwr in the current kernel code.
*
* This BPF program actually uses 2 drop thresholds, one threshold