aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2023-09-22 22:03:55 +0000
committerPaolo Abeni <[email protected]>2023-10-03 10:05:22 +0200
commita135798e6e200ecb2f864cecca6d257ba278370c (patch)
tree0ca4e1e03b929fab5ad4b9f85642110e0c2ecd02 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent081480014a64a69d901f8ef1ffdd56d6085cf87e (diff)
tcp_metrics: do not create an entry from tcp_init_metrics()
tcp_init_metrics() only wants to get metrics if they were previously stored in the cache. Creating an entry is adding useless costs, especially when tcp_no_metrics_save is set. Fixes: 51c5d0c4b169 ("tcp: Maintain dynamic metrics in local cache.") Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: David Ahern <[email protected]> Acked-by: Neal Cardwell <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions