- Backout one line from 1.78. The tp can be freed by tcp_drop().

- Style next line.

Coverity ID:	912
This commit is contained in:
Gleb Smirnoff 2006-05-16 10:51:26 +00:00
parent 00570db37b
commit ffb761f624
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158644

View File

@ -449,9 +449,8 @@ tcp_timer_persist(xtp)
out:
#ifdef TCPDEBUG
if (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)
tcp_trace(TA_USER, ostate, tp, (void *)0, (struct tcphdr *)0,
PRU_SLOWTIMO);
if (tp != NULL && tp->t_inpcb->inp_socket->so_options & SO_DEBUG)
tcp_trace(TA_USER, ostate, tp, NULL, NULL, PRU_SLOWTIMO);
#endif
if (tp != NULL)
INP_UNLOCK(inp);