samples/bpf: Fix typo in xdp_router_ipv4 sample
authorDeming Wang <wangdeming@inspur.com>
Tue, 27 Sep 2022 19:25:27 +0000 (15:25 -0400)
committerAndrii 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

index 294fc15..683913b 100644 (file)
@@ -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] ==