summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShaomin Deng <dengshaomin@cdjrlc.com>2022-10-17 16:23:03 +0200
committerMartin KaFai Lau <martin.lau@kernel.org>2022-10-19 20:21:49 +0200
commit01dea9548f6c88dc23dc5916eecd3555b82c8fec (patch)
treeab3f5c1583de8f5e2010e915ad5f952cff2da20c
parentsamples/bpf: Fix MAC address swapping in xdp2_kern (diff)
downloadlinux-01dea9548f6c88dc23dc5916eecd3555b82c8fec.tar.xz
linux-01dea9548f6c88dc23dc5916eecd3555b82c8fec.zip
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>
-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