]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tcp: increment tcpstats in tcp_respond()
authorGleb Smirnoff <glebius@FreeBSD.org>
Wed, 21 Sep 2022 21:03:33 +0000 (14:03 -0700)
committerGleb Smirnoff <glebius@FreeBSD.org>
Wed, 21 Sep 2022 21:03:33 +0000 (14:03 -0700)
commit9453ec661961d19919ec3927a5c90fc69bf23b4d
tree710c9356821cb7991d89ae1b4b15b809a984f0db
parent493105c2a8f95be99b5299af650fcf8b59b91f55
tcp: increment tcpstats in tcp_respond()

tcp_respond() crafts a packet and sends it directly to ip[6]output(),
bypassing tcp_output().  Hence it must increment TCP send statistics.

Reviewed by: rscheff, tuexen, rrs (implicitly)
Differential revision: https://reviews.freebsd.org/D36641
sys/netinet/tcp_subr.c