Make sure the inp wasn't dropped when rexmt let go of the inp and
pcbinfo locks. Reviewed by: andre@ MFC after: 7 days
This commit is contained in:
parent
0e775b6d17
commit
aa4b09c5c7
@ -495,6 +495,13 @@ tcp_timer_rexmt(void * xtp)
|
||||
CURVNET_RESTORE();
|
||||
return;
|
||||
}
|
||||
if (inp->inp_flags & INP_DROPPED) {
|
||||
INP_WUNLOCK(inp);
|
||||
INP_INFO_WUNLOCK(&V_tcbinfo);
|
||||
CURVNET_RESTORE();
|
||||
return;
|
||||
}
|
||||
|
||||
tp = tcp_drop(tp, tp->t_softerror ?
|
||||
tp->t_softerror : ETIMEDOUT);
|
||||
headlocked = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user