Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2021 15:32:07 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        "Herbert J. Skuhra" <herbert@gojira.at>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Easily reproducible stable/13 kernel crash
Message-ID:  <770ec82a-5fa5-530c-b059-bcae09c213e1@selasky.org>
In-Reply-To: <87tum48ror.wl-herbert@gojira.at>
References:  <63c37775-f1f6-def7-1ca2-4ac0460c46e2@shrew.net> <87y2bhuehz.wl-herbert@gojira.at> <87wnr0vq79.wl-herbert@gojira.at> <6d268f28-373e-fd84-9fe8-9e39831760e5@selasky.org> <87tum48ror.wl-herbert@gojira.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

This patch should fix it:

diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index dff7767cd9c..33bc0549165 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1234,6 +1234,10 @@ tcp_init(void)
         tcp_inp_lro_wokeup_queue = counter_u64_alloc(M_WAITOK);
         tcp_inp_lro_compressed = counter_u64_alloc(M_WAITOK);
         tcp_inp_lro_locks_taken = counter_u64_alloc(M_WAITOK);
+       tcp_extra_mbuf = counter_u64_alloc(M_WAITOK);
+       tcp_would_have_but = counter_u64_alloc(M_WAITOK);
+       tcp_comp_total = counter_u64_alloc(M_WAITOK);
+       tcp_uncomp_total = counter_u64_alloc(M_WAITOK);
  #ifdef TCPPCAP
         tcp_pcap_init();
  #endif


--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?770ec82a-5fa5-530c-b059-bcae09c213e1>