mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 03:37:16 +00:00
Don't use C++ style comments.
These where introduced in r347382. Reported by: ngie@
This commit is contained in:
parent
bc562d41f2
commit
b5a154d8e3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=347407
|
@ -3045,15 +3045,21 @@ tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so,
|
|||
if (tp->t_flags & TF_SACK_PERMIT) {
|
||||
if (((tlen == 0) && (save_tlen > 0) &&
|
||||
(SEQ_LT(save_start, save_rnxt)))) {
|
||||
// DSACK actually handled in the fastpath above
|
||||
/*
|
||||
* DSACK actually handled in the fastpath
|
||||
* above.
|
||||
*/
|
||||
tcp_update_sack_list(tp, save_start, save_start + save_tlen);
|
||||
} else
|
||||
if ((tlen > 0) && SEQ_GT(tp->rcv_nxt, save_rnxt)) {
|
||||
// cleaning sackblks by using zero length update
|
||||
/*
|
||||
* Cleaning sackblks by using zero length
|
||||
* update.
|
||||
*/
|
||||
tcp_update_sack_list(tp, save_start, save_start);
|
||||
} else
|
||||
if ((tlen > 0) && (tlen >= save_tlen)) {
|
||||
// update of sackblks
|
||||
/* Update of sackblks. */
|
||||
tcp_update_sack_list(tp, save_start, save_start + save_tlen);
|
||||
} else
|
||||
if (tlen > 0) {
|
||||
|
|
Loading…
Reference in a new issue