diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-01-14 19:51:09 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-18 02:43:16 +0300 |
| commit | f10ab9d3a7ea06ef7d6aa2d3c527f8cf728bbdee (patch) | |
| tree | 5f33df23e5bcd4269c76bac0d17aff0a22df0992 /include/linux/root_dev.h | |
| parent | 799759e610d32de37f65cb109f2801b5f099b13d (diff) | |
| download | linux-f10ab9d3a7ea06ef7d6aa2d3c527f8cf728bbdee.tar.xz | |
tcp: move tcp_rate_skb_sent() to tcp_output.c
It is only called from __tcp_transmit_skb() and __tcp_retransmit_skb().
Move it in tcp_output.c and make it static.
clang compiler is now able to inline it from __tcp_transmit_skb().
gcc compiler inlines it in the two callers, which is also fine.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Link: https://patch.msgid.link/20260114165109.1747722-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions
