From ef46b98fe1a6a019eb37105d85e5bf32f8a088a0 Mon Sep 17 00:00:00 2001 From: hiren Date: Fri, 2 Oct 2015 16:30:54 +0000 Subject: MFC r287830 Remove unnecessary tcp state transition call. --- sys/netinet/tcp_usrreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index be9e0e7..c848306 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1746,9 +1746,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 -- cgit v1.1