diff options
| author | Kuniyuki Iwashima <[email protected]> | 2022-01-13 00:28:49 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-01-18 23:45:06 +0000 |
| commit | a796966b6ea0abe05eebeb2443391b283f89b1e0 (patch) | |
| tree | d20875268b52fbb9c5dea70918083f6ef64eec1c /tools/testing/selftests/bpf/progs/bpf_iter_unix.c | |
| parent | selftest/bpf: Test batching and bpf_(get|set)sockopt in bpf unix iter. (diff) | |
| download | kernel-a796966b6ea0abe05eebeb2443391b283f89b1e0.tar.gz kernel-a796966b6ea0abe05eebeb2443391b283f89b1e0.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/bpf_iter_unix.c')
| -rw-r--r-- | tools/testing/selftests/bpf/progs/bpf_iter_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/progs/bpf_iter_unix.c b/tools/testing/selftests/bpf/progs/bpf_iter_unix.c index c21e3f545371..e6aefae38894 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; |
