Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153199725
D17915.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
963 B
Referenced Files
None
Subscribers
None
D17915.diff
View Options
Index: head/sys/dev/cxgbe/tom/t4_cpl_io.c
===================================================================
--- head/sys/dev/cxgbe/tom/t4_cpl_io.c
+++ head/sys/dev/cxgbe/tom/t4_cpl_io.c
@@ -396,7 +396,7 @@
CTR6(KTR_CXGBE, "%s: tid %d, so %p, inp %p, tp %p, toep %p",
__func__, toep->tid, so, inp, tp, toep);
- tp->t_state = TCPS_ESTABLISHED;
+ tcp_state_change(tp, TCPS_ESTABLISHED);
tp->t_starttime = ticks;
TCPSTAT_INC(tcps_connects);
@@ -1303,11 +1303,11 @@
/* FALLTHROUGH */
case TCPS_ESTABLISHED:
- tp->t_state = TCPS_CLOSE_WAIT;
+ tcp_state_change(tp, TCPS_CLOSE_WAIT);
break;
case TCPS_FIN_WAIT_1:
- tp->t_state = TCPS_CLOSING;
+ tcp_state_change(tp, TCPS_CLOSING);
break;
case TCPS_FIN_WAIT_2:
@@ -1389,7 +1389,7 @@
case TCPS_FIN_WAIT_1:
if (so->so_rcv.sb_state & SBS_CANTRCVMORE)
soisdisconnected(so);
- tp->t_state = TCPS_FIN_WAIT_2;
+ tcp_state_change(tp, TCPS_FIN_WAIT_2);
break;
default:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 6:32 PM (5 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31857139
Default Alt Text
D17915.diff (963 B)
Attached To
Mode
D17915: Use tcp_state_change() in the cxgbe(4) TOE module.
Attached
Detach File
Event Timeline
Log In to Comment