summaryrefslogtreecommitdiffstats
path: root/samples/bpf
diff options
context:
space:
mode:
authorDeming Wang <wangdeming@inspur.com>2022-09-27 21:25:27 +0200
committerAndrii Nakryiko <andrii@kernel.org>2022-10-01 00:04:23 +0200
commitb59cc7fcbaebde52ed97f63c6c50e49b8dd5be37 (patch)
tree39c3ddb0ca11c0a734305fd65a7db4e4e8891172 /samples/bpf
parentMerge branch 'tools: bpftool: Remove unused struct' (diff)
downloadlinux-b59cc7fcbaebde52ed97f63c6c50e49b8dd5be37.tar.xz
linux-b59cc7fcbaebde52ed97f63c6c50e49b8dd5be37.zip
samples/bpf: Fix typo in xdp_router_ipv4 sample
Fix typo in xdp_router_ipv4 sample. Signed-off-by: Deming Wang <wangdeming@inspur.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20220927192527.8722-1-wangdeming@inspur.com
Diffstat (limited to 'samples/bpf')
-rw-r--r--samples/bpf/xdp_router_ipv4_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/xdp_router_ipv4_user.c b/samples/bpf/xdp_router_ipv4_user.c
index 294fc15ad1cb..683913bbf279 100644
--- a/samples/bpf/xdp_router_ipv4_user.c
+++ b/samples/bpf/xdp_router_ipv4_user.c
@@ -209,7 +209,7 @@ static void read_route(struct nlmsghdr *nh, int nll)
/* Rereading the route table to check if
* there is an entry with the same
* prefix but a different metric as the
- * deleted enty.
+ * deleted entry.
*/
get_route_table(AF_INET);
} else if (prefix_key->data[0] ==