Page MenuHomeFreeBSD

D2079.id4428.diff
No OneTemporary

D2079.id4428.diff

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

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)

Event Timeline