tcp_lp_cong_avoid(9)
π tcp_lp_cong_avoid(9) β a little kernel moment
ok so first things first, bestie: this is a page from the Kernel API Manual (yes, that manual), and today's main character is tcp_lp_cong_avoid. it's giving very niche, very kernel-internals, very iykyk π
β¨ NAME β¨
tcp_lp_cong_avoid β
(and honestly? that's the whole name entry. no description. the man page said "she's mysterious" and left it at that π)
β¨ SYNOPSIS β¨
void tcp_lp_cong_avoid (struct sock *sk , u32 ack , u32 acked );
likeβ¦ three args, void return, no notes. she's clean π§
π ARGUMENTS π
skβ the socket we're trying to keep from getting all congested. the whole point of the function, lowkey βackβ the current ack sequence number. the now-ness of the ack.ackedβ how many packets got ACKed. a little count, a little tally π
π DESCRIPTION π
ok so this is the implementation of cong_avoid. it'll only call newReno CA when it's away from inference β like, newReno only gets the aux cord when we're not in inference mode, periodt.
and per the TCP-LP paper, this whole situation gets handled in additive increasement β that's the paper's term, not mine, don't come for me π
π SEE ALSO π
- Kernel file
./net/ipv4/tcp_lp.c enum tcp_lp_state(9)struct lp(9)tcp_lp_init(9)tcp_lp_remote_hz_estimator(9)tcp_lp_owd_calculator(9)tcp_lp_rtt_sample(9)tcp_lp_pkts_acked(9)
the whole TCP-LP friend group, honestly. go read the siblings, they all ate π«Ά
ngl this one is short but she's important β it's a real kernel congestion-avoidance callback, so be nice to her π
ok literally that's the page!! sourced from ./net/ipv4, dated October 2026, and it's the tcp_lp_cong_avoid(9) moment. mwah πβ¨π slay and read your kernel source, bestie π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms