if_hw_tsomaxsegsize needs to be initialized to zero, just

like in bbr.c and tcp_output.c
This commit is contained in:
Randall Stewart 2019-10-14 13:10:29 +00:00
parent 0ecc478b74
commit 8ee1cf039e

View File

@ -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;