Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146216781
D6931.id17806.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
456 B
Referenced Files
None
Subscribers
None
D6931.id17806.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D6931: Free TCPPCAP mbufs when under memory pressure
Attached
Detach File
Event Timeline
Log In to Comment