aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/nsim.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-05-07 13:27:17 +0000
committerJakub Kicinski <[email protected]>2024-05-09 01:50:11 +0000
commite2d09e5a1e8fb17a807dc4dce8dbc39d9fea3788 (patch)
tree3bdcffc85e18df96748c5a80da609a0d19400317 /tools/testing/selftests/net/lib/py/nsim.py
parentnet: dst_cache: annotate data-races around dst_cache->reset_ts (diff)
downloadkernel-e2d09e5a1e8fb17a807dc4dce8dbc39d9fea3788.tar.gz
kernel-e2d09e5a1e8fb17a807dc4dce8dbc39d9fea3788.zip
net: dst_cache: minor optimization in dst_cache_set_ip6()
There is no need to use this_cpu_ptr(dst_cache->cache) twice. Compiler is unable to optimize the second call, because of per-cpu constraints. Signed-off-by: Eric Dumazet <[email protected]> Acked-by: Paolo Abeni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/nsim.py')
0 files changed, 0 insertions, 0 deletions