projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ade1cd
)
samples/bpf: Fix typo in xdp_router_ipv4 sample
author
Deming Wang
<wangdeming@inspur.com>
Tue, 27 Sep 2022 19:25:27 +0000
(15:25 -0400)
committer
Andrii Nakryiko
<andrii@kernel.org>
Fri, 30 Sep 2022 22:04:23 +0000
(15:04 -0700)
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
samples/bpf/xdp_router_ipv4_user.c
patch
|
blob
|
history
diff --git
a/samples/bpf/xdp_router_ipv4_user.c
b/samples/bpf/xdp_router_ipv4_user.c
index 294fc15ad1cb24800a6223e5f8addd3ec9e5264e..683913bbf279763c420d7e70730a6ce5309885f4 100644
(file)
--- 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 ent
r
y.
*/
get_route_table(AF_INET);
} else if (prefix_key->data[0] ==