Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Deming Wang and committed by
Andrii Nakryiko
b59cc7fc 2ade1cd9

+1 -1
+1 -1
samples/bpf/xdp_router_ipv4_user.c
··· 209 209 /* Rereading the route table to check if 210 210 * there is an entry with the same 211 211 * prefix but a different metric as the 212 - * deleted enty. 212 + * deleted entry. 213 213 */ 214 214 get_route_table(AF_INET); 215 215 } else if (prefix_key->data[0] ==