aboutgitcodebugslistschat
path: root/tap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-07-27 00:50:53 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-07-27 00:50:53 +0200
commitfd5050ccbacfbcf7dee4075144ef3cd8f282f493 (patch)
tree9ce43b894592c761284a84e7dd57d415d0144cb7 /tap.c
parentd372c42460a56ecb9dfdc80f861f2e6a925ba25b (diff)
downloadpasst-fd5050ccbacfbcf7dee4075144ef3cd8f282f493.tar
passt-fd5050ccbacfbcf7dee4075144ef3cd8f282f493.tar.gz
passt-fd5050ccbacfbcf7dee4075144ef3cd8f282f493.tar.bz2
passt-fd5050ccbacfbcf7dee4075144ef3cd8f282f493.tar.lz
passt-fd5050ccbacfbcf7dee4075144ef3cd8f282f493.tar.xz
passt-fd5050ccbacfbcf7dee4075144ef3cd8f282f493.tar.zst
passt-fd5050ccbacfbcf7dee4075144ef3cd8f282f493.zip
tcp: Limit TCP_INFO getsockopt() syscalls
There's no need to constantly query the socket for number of acknowledged bytes if we're far from exhausting the sending window, just do it if we're at least down to 90% of it. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.c')
0 files changed, 0 insertions, 0 deletions