Re: Easily reproducible stable/13 kernel crash
Hans Petter Selasky <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
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