]> Git Repo - J-u-boot.git/commit - net/tcp.c
net/tcp: fix selective acknowledge
authorMikhail Kshevetskiy <[email protected]>
Sat, 28 Dec 2024 10:46:28 +0000 (13:46 +0300)
committerTom Rini <[email protected]>
Sat, 28 Dec 2024 17:59:42 +0000 (11:59 -0600)
commit40d3d6557d929bed17eafe1fab05b2ac7b3c6d01
treeea8bad86a84ca3d377ff1872087c5eb13ddcfc4e
parent77da29b8687006bc7b706d3fb73f720392d236a5
net/tcp: fix selective acknowledge

Current code assume that all (except last) packets are of the same size.
This is definitely wrong. Replace SACK code with a new one, that does
not rely on this assumption. Also this code uses less memory.

Signed-off-by: Mikhail Kshevetskiy <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
net/tcp.c
This page took 0.031419 seconds and 4 git commands to generate.