summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2016-03-08 00:16:34 +0000
committerrrs <rrs@FreeBSD.org>2016-03-08 00:16:34 +0000
commit653178f6aa2d85e890b40cb97aa7669199eb01f6 (patch)
tree245995afcf044d685e03e8adf7416b439cde527c
parent9a11a051e969c519c73ba0fee167cadba79682d8 (diff)
downloadFreeBSD-src-653178f6aa2d85e890b40cb97aa7669199eb01f6.zip
FreeBSD-src-653178f6aa2d85e890b40cb97aa7669199eb01f6.tar.gz
Fix a sneaky bug where we were missing an extern
to get the rxt threshold.. and thus created our own defaulted to 0 :-( Sponsored by: Netflix Inc
-rw-r--r--sys/netinet/tcp_stacks/fastpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_stacks/fastpath.c b/sys/netinet/tcp_stacks/fastpath.c
index d4a9ee0..5eddccf 100644
--- a/sys/netinet/tcp_stacks/fastpath.c
+++ b/sys/netinet/tcp_stacks/fastpath.c
@@ -124,7 +124,7 @@ __FBSDID("$FreeBSD$");
#include <security/mac/mac_framework.h>
-const int tcprexmtthresh;
+extern const int tcprexmtthresh;
VNET_DECLARE(int, tcp_autorcvbuf_inc);
#define V_tcp_autorcvbuf_inc VNET(tcp_autorcvbuf_inc)
OpenPOWER on IntegriCloud