diff options
author | Li Zetao <[email protected]> | 2024-08-22 21:39:06 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-26 09:48:53 -0700 |
commit | 26549dab8a4676ce549cb20bf384daf458a9ea24 (patch) | |
tree | 2ba4b1a6325134182bd19a88c6cc09043bc42fab /tools/perf/scripts/python/stat-cpi.py | |
parent | b4985aa8e312fd40fbbce0fe44ce677368fdee43 (diff) |
ipv6: mcast: use min() to simplify the code
When coping sockaddr in ip6_mc_msfget(), the time of copies
depends on the minimum value between sl_count and gf_numsrc.
Using min() here is very semantic.
Signed-off-by: Li Zetao <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions