svn commit: r365598 - stable/12/sys/netinet/tcp_stacks
Michael Tuexen
tuexen at FreeBSD.org
Thu Sep 10 17:44:28 UTC 2020
Author: tuexen
Date: Thu Sep 10 17:44:27 2020
New Revision: 365598
URL: https://svnweb.freebsd.org/changeset/base/365598
Log:
MFC r353490 (from rrs):
if_hw_tsomaxsegsize needs to be initialized to zero, just
like in bbr.c and tcp_output.c
Modified:
stable/12/sys/netinet/tcp_stacks/rack.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/netinet/tcp_stacks/rack.c
==============================================================================
--- stable/12/sys/netinet/tcp_stacks/rack.c Thu Sep 10 17:41:23 2020 (r365597)
+++ stable/12/sys/netinet/tcp_stacks/rack.c Thu Sep 10 17:44:27 2020 (r365598)
@@ -6996,7 +6996,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;
long tot_len_this_send = 0;
struct ip *ip = NULL;
#ifdef TCPDEBUG
More information about the svn-src-all
mailing list