tcp: remove a superfluous local var in tcp_sack_partialack()
No functional change. Reviewed By: #transport, tuexen MFC after: 3 days Sponsored by: NetApp, Inc. Differential Revision: https://reviews.freebsd.org/D29088
This commit is contained in:
parent
4a8f3aad37
commit
9a13d9dcee
@ -832,7 +832,6 @@ tcp_sack_partialack(struct tcpcb *tp, struct tcphdr *th)
|
|||||||
TAILQ_EMPTY(&tp->snd_holes) &&
|
TAILQ_EMPTY(&tp->snd_holes) &&
|
||||||
(tp->sackhint.delivered_data > 0)) {
|
(tp->sackhint.delivered_data > 0)) {
|
||||||
struct sackhole *hole;
|
struct sackhole *hole;
|
||||||
int maxseg = tcp_maxseg(tp);
|
|
||||||
hole = tcp_sackhole_insert(tp, SEQ_MAX(th->th_ack, tp->snd_max - maxseg), tp->snd_max, NULL);
|
hole = tcp_sackhole_insert(tp, SEQ_MAX(th->th_ack, tp->snd_max - maxseg), tp->snd_max, NULL);
|
||||||
}
|
}
|
||||||
(void) tp->t_fb->tfb_tcp_output(tp);
|
(void) tp->t_fb->tfb_tcp_output(tp);
|
||||||
|
Loading…
Reference in New Issue
Block a user