Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F81970207
D2079.id4428.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D2079.id4428.diff
View Options
Index: sys/netinet/tcp_subr.c
===================================================================
--- sys/netinet/tcp_subr.c
+++ sys/netinet/tcp_subr.c
@@ -1033,32 +1033,38 @@
}
void
-tcp_timer_2msl_discard(void *xtp) {
+tcp_timer_2msl_discard(void *xtp)
+{
tcp_timer_discard((struct tcpcb *)xtp, TT_2MSL);
}
void
-tcp_timer_keep_discard(void *xtp) {
+tcp_timer_keep_discard(void *xtp)
+{
tcp_timer_discard((struct tcpcb *)xtp, TT_KEEP);
}
void
-tcp_timer_persist_discard(void *xtp) {
+tcp_timer_persist_discard(void *xtp)
+{
tcp_timer_discard((struct tcpcb *)xtp, TT_PERSIST);
}
void
-tcp_timer_rexmt_discard(void *xtp) {
+tcp_timer_rexmt_discard(void *xtp)
+{
tcp_timer_discard((struct tcpcb *)xtp, TT_REXMT);
}
void
-tcp_timer_delack_discard(void *xtp) {
+tcp_timer_delack_discard(void *xtp)
+{
tcp_timer_discard((struct tcpcb *)xtp, TT_DELACK);
}
void
-tcp_timer_discard(struct tcpcb *tp, uint32_t timer_type) {
+tcp_timer_discard(struct tcpcb *tp, uint32_t timer_type)
+{
CURVNET_SET(tp->t_vnet);
INP_INFO_WLOCK(&V_tcbinfo);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 15, 3:36 PM (20 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9091734
Default Alt Text
D2079.id4428.diff (1 KB)
Attached To
Mode
D2079: Fix TCP timers use-after-free old race conditions
Attached
Detach File
Event Timeline
Log In to Comment