This call now also tracks state transitions for DTRACE and without this change
it'd report state transition from TCPS_CLOSING to TCPS_CLOSING.
Details
Details
- Reviewers
markj np gnn rwatson - Commits
- rS287830: Remove unnecessary tcp state transition call.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Hum, I am failing to understand/find where we set state to TCPS_CLOSED before we enter tcp_usrclosed().
Comment Actions
Oops. I just took a second look and noticed the FALLTHROUGH above. I presume that's the reason for the assignment.
It looks like it should be ok to move the call up, right before the fallthrough.
Comment Actions
Good catch by @markj.
Move the call to track TCPS_LISTEN -> TCPS_CLOSED transition correctly.
Comment Actions
Good catch. :-)
I am still unsure of how we handle TCPS_CLOSE correctly. i.e in my instrumentation, I never see state transition to closed state.
May be @rwatson can help here.