Missed in r274421: use sbavail() instead of bare access to sb_cc.
This commit is contained in:
parent
57f43a45a3
commit
300fa232ee
@ -925,7 +925,7 @@ tcp_usr_send(struct socket *so, int flags, struct mbuf *m,
|
||||
tp->snd_wnd = TTCP_CLIENT_SND_WND;
|
||||
tcp_mss(tp, -1);
|
||||
}
|
||||
tp->snd_up = tp->snd_una + so->so_snd.sb_cc;
|
||||
tp->snd_up = tp->snd_una + sbavail(&so->so_snd);
|
||||
tp->t_flags |= TF_FORCEDATA;
|
||||
error = tcp_output(tp);
|
||||
tp->t_flags &= ~TF_FORCEDATA;
|
||||
|
Loading…
Reference in New Issue
Block a user