summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2019-07-12 19:43:51 +0000
committerbluhm <bluhm@openbsd.org>2019-07-12 19:43:51 +0000
commit0c04e3b6d529d6955faf3e86aabe4172550afff8 (patch)
treeb85906185cb4b5d83ba9c1841169d77fffc991b5 /sys/netinet/tcp_usrreq.c
parentTest should also run if there is no obj directory. Name regress (diff)
downloadwireguard-openbsd-0c04e3b6d529d6955faf3e86aabe4172550afff8.tar.xz
wireguard-openbsd-0c04e3b6d529d6955faf3e86aabe4172550afff8.zip
Count the number of TCP SACK options that were dropped due to the
sack hole list length or pool limit. OK claudio@
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 4eed4630e6c..a2cf32f1f93 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_usrreq.c,v 1.171 2019/02/06 17:32:16 bluhm Exp $ */
+/* $OpenBSD: tcp_usrreq.c,v 1.172 2019/07/12 19:43:51 bluhm Exp $ */
/* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */
/*
@@ -945,6 +945,7 @@ tcp_sysctl_tcpstat(void *oldp, size_t *oldlenp, void *newp)
ASSIGN(tcps_sack_rexmit_bytes);
ASSIGN(tcps_sack_rcv_opts);
ASSIGN(tcps_sack_snd_opts);
+ ASSIGN(tcps_sack_drop_opts);
#undef ASSIGN