From: Kuniyuki Iwashima Date: Thu, 13 Jan 2022 00:28:49 +0000 (+0900) Subject: selftest/bpf: Fix a stale comment. X-Git-Tag: core-urgent-2022-04-03~86^2~544^2~18^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a796966b6ea0abe05eebeb2443391b283f89b1e0;p=users%2Fdwmw2%2Flinux.git selftest/bpf: Fix a stale comment. The commit b8a58aa6fccc ("af_unix: Cut unix_validate_addr() out of unix_mkname().") moved the bound test part into unix_validate_addr(). Signed-off-by: Kuniyuki Iwashima Link: https://lore.kernel.org/r/20220113002849.4384-6-kuniyu@amazon.co.jp Signed-off-by: Alexei Starovoitov --- diff --git a/tools/testing/selftests/bpf/progs/bpf_iter_unix.c b/tools/testing/selftests/bpf/progs/bpf_iter_unix.c index c21e3f545371f..e6aefae388942 100644 --- a/tools/testing/selftests/bpf/progs/bpf_iter_unix.c +++ b/tools/testing/selftests/bpf/progs/bpf_iter_unix.c @@ -63,7 +63,7 @@ int dump_unix(struct bpf_iter__unix *ctx) BPF_SEQ_PRINTF(seq, " @"); for (i = 1; i < len; i++) { - /* unix_mkname() tests this upper bound. */ + /* unix_validate_addr() tests this upper bound. */ if (i >= sizeof(struct sockaddr_un)) break;