svn commit: r353490 - head/sys/netinet/tcp_stacks

Randall Stewart rrs at FreeBSD.org
Mon Oct 14 13:10:30 UTC 2019


Author: rrs
Date: Mon Oct 14 13:10:29 2019
New Revision: 353490
URL: https://svnweb.freebsd.org/changeset/base/353490

Log:
  if_hw_tsomaxsegsize needs to be initialized to zero, just
  like in bbr.c and tcp_output.c

Modified:
  head/sys/netinet/tcp_stacks/rack.c

Modified: head/sys/netinet/tcp_stacks/rack.c
==============================================================================
--- head/sys/netinet/tcp_stacks/rack.c	Mon Oct 14 13:04:04 2019	(r353489)
+++ head/sys/netinet/tcp_stacks/rack.c	Mon Oct 14 13:10:29 2019	(r353490)
@@ -8115,7 +8115,7 @@ rack_output(struct tcpcb *tp)
 	struct mbuf *m;
 	struct mbuf *mb;
 	uint32_t if_hw_tsomaxsegcount = 0;
-	uint32_t if_hw_tsomaxsegsize;
+	uint32_t if_hw_tsomaxsegsize = 0;
 	int32_t maxseg;
 	long tot_len_this_send = 0;
 	struct ip *ip = NULL;


More information about the svn-src-head mailing list