Page MenuHomeFreeBSD

D36641.diff
No OneTemporary

D36641.diff

diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -2174,6 +2174,12 @@
}
}
+ if (flags & TH_ACK)
+ TCPSTAT_INC(tcps_sndacks);
+ else if (flags & (TH_SYN|TH_FIN|TH_RST))
+ TCPSTAT_INC(tcps_sndctrl);
+ TCPSTAT_INC(tcps_sndtotal);
+
#ifdef INET6
if (isipv6) {
TCP_PROBE5(send, NULL, tp, ip6, tp, nth);

File Metadata

Mime Type
text/plain
Expires
Sun, May 24, 5:58 AM (1 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33464589
Default Alt Text
D36641.diff (386 B)

Event Timeline