diff options
| author | Lorenz Bauer <[email protected]> | 2023-07-20 17:30:09 +0200 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2023-07-25 13:51:44 -0700 |
| commit | 2a61776366bd17db9ac8c93ec32b8e0ae6b11cf2 (patch) | |
| tree | 4dc38ce92aca7bb43d3fe001d5e85dd80357510d /tools/perf/scripts/python | |
| parent | 0f495f7617229772403e683033abc473f0f0553c (diff) | |
net: document inet[6]_lookup_reuseport sk_state requirements
The current implementation was extracted from inet[6]_lhash2_lookup
in commit 80b373f74f9e ("inet: Extract helper for selecting socket
from reuseport group") and commit 5df6531292b5 ("inet6: Extract helper
for selecting socket from reuseport group"). In the original context,
sk is always in TCP_LISTEN state and so did not have a separate check.
Add documentation that specifies which sk_state are valid to pass to
the function.
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: Lorenz Bauer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions