summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorDeming Wang <wangdeming@inspur.com>2022-09-27 22:25:27 +0300
committerAndrii Nakryiko <andrii@kernel.org>2022-10-01 01:04:23 +0300
commitb59cc7fcbaebde52ed97f63c6c50e49b8dd5be37 (patch)
tree39c3ddb0ca11c0a734305fd65a7db4e4e8891172 /samples
parent2ade1cd95b8d4cedc0eeacac1998a441fa285ab6 (diff)
downloadlinux-b59cc7fcbaebde52ed97f63c6c50e49b8dd5be37.tar.xz
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')
-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] ==