svn commit: r288509 - stable/10/sys/netinet
Hiren Panchasara
hiren at FreeBSD.org
Fri Oct 2 16:30:55 UTC 2015
Author: hiren
Date: Fri Oct 2 16:30:54 2015
New Revision: 288509
URL: https://svnweb.freebsd.org/changeset/base/288509
Log:
MFC r287830
Remove unnecessary tcp state transition call.
Modified:
stable/10/sys/netinet/tcp_usrreq.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/netinet/tcp_usrreq.c
==============================================================================
--- stable/10/sys/netinet/tcp_usrreq.c Fri Oct 2 16:22:24 2015 (r288508)
+++ stable/10/sys/netinet/tcp_usrreq.c Fri Oct 2 16:30:54 2015 (r288509)
@@ -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
More information about the svn-src-stable-10
mailing list