Page MenuHomeFreeBSD

D6931.id17806.diff
No OneTemporary

D6931.id17806.diff

Index: sys/netinet/tcp_subr.c
===================================================================
--- sys/netinet/tcp_subr.c
+++ sys/netinet/tcp_subr.c
@@ -1604,6 +1604,11 @@
if ((tcpb = intotcpcb(inpb)) != NULL) {
tcp_reass_flush(tcpb);
tcp_clean_sackreport(tcpb);
+#ifdef TCPPCAP
+ /* Free the TCP PCAP queues. */
+ tcp_pcap_drain(&(tcpb->t_inpkts));
+ tcp_pcap_drain(&(tcpb->t_outpkts));
+#endif
}
INP_WUNLOCK(inpb);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 1, 8:17 PM (20 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29124840
Default Alt Text
D6931.id17806.diff (456 B)

Event Timeline