tcp: Correctly compute the TCP goodput in bits per second by using SEQ_SUB().
authorHans Petter Selasky <hselasky@FreeBSD.org>
Thu, 16 Jun 2022 02:42:46 +0000 (04:42 +0200)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Thu, 23 Jun 2022 19:10:39 +0000 (21:10 +0200)
commitf5766992c0d0491d571cb6d1c47f373314f527a8
tree55c362692f1a623b7682c1c4e565e6346a9bfd03
parent29afffb942b159511ad7d5ea5d086851f65ef4a0
tcp: Correctly compute the TCP goodput in bits per second by using SEQ_SUB().

TCP sequence number differences should be computed using SEQ_SUB().

Differential Revision: https://reviews.freebsd.org/D35505
Reviewed by: rscheff@
MFC after: 1 week
Sponsored by: NVIDIA Networking
sys/netinet/tcp_input.c