aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-08-04 06:20:17 +0000
committerJakub Kicinski <[email protected]>2024-08-06 19:16:25 +0000
commit871cdea0f82ebcfa1d86ef527b054a20a6dff8a2 (patch)
tree0517664cbb04990e3900a9087e7aef51a9b8a880 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parentnet: airoha: honor reset return value in airoha_hw_init() (diff)
downloadkernel-871cdea0f82ebcfa1d86ef527b054a20a6dff8a2.tar.gz
kernel-871cdea0f82ebcfa1d86ef527b054a20a6dff8a2.zip
tcp: Use clamp() in htcp_alpha_update()
Using clamp instead of min(max()) is easier to read and it matches even better the comment just above it. It also reduces the size of the preprocessed files by ~ 2.5 ko. (see [1] for a discussion about it) $ ls -l net/ipv4/tcp_htcp*.i 5576024 27 juil. 10:19 net/ipv4/tcp_htcp.old.i 5573550 27 juil. 10:21 net/ipv4/tcp_htcp.new.i [1]: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://patch.msgid.link/561bb4974499a328ac39aff31858465d9bd12b1c.1722752370.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions