Remove unnecessary tcp state transition call.
Differential Revision: D3451 Reviewed by: markj MFC after: 2 weeks Sponsored by: Limelight Networks
This commit is contained in:
parent
9b76bf99d5
commit
550e9d4235
@ -1765,9 +1765,9 @@ tcp_usrclosed(struct tcpcb *tp)
|
||||
#ifdef TCP_OFFLOAD
|
||||
tcp_offload_listen_stop(tp);
|
||||
#endif
|
||||
tcp_state_change(tp, TCPS_CLOSED);
|
||||
/* FALLTHROUGH */
|
||||
case TCPS_CLOSED:
|
||||
tcp_state_change(tp, TCPS_CLOSED);
|
||||
tp = tcp_close(tp);
|
||||
/*
|
||||
* tcp_close() should never return NULL here as the socket is
|
||||
|
Loading…
x
Reference in New Issue
Block a user