SImplify the call to tcp_drop(), since the handling of soft error
is also done in tcp_drop(). No functional change. Sponsored by: Netflix, Inc.
This commit is contained in:
parent
5ebc699ab2
commit
4c6a10903f
@ -662,8 +662,7 @@ tcp_timer_rexmt(void * xtp)
|
||||
tcp_inpinfo_lock_del(inp, tp);
|
||||
goto out;
|
||||
}
|
||||
tp = tcp_drop(tp, tp->t_softerror ?
|
||||
tp->t_softerror : ETIMEDOUT);
|
||||
tp = tcp_drop(tp, ETIMEDOUT);
|
||||
tcp_inpinfo_lock_del(inp, tp);
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user