Skip to content

Commit

Permalink
Remove now-redundant remote_last_ack update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio authored and whitequark committed Jun 12, 2020
1 parent 82a1c97 commit a27da3a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/socket/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,6 @@ impl<'a> TcpSocket<'a> {
// packets for every packet it receives.
net_trace!("{}:{}:{}: ACKing incoming segment",
self.meta.handle, self.local_endpoint, self.remote_endpoint);
self.remote_last_ack = Some(self.remote_seq_no + self.rx_buffer.len());
Ok(Some(self.ack_reply(ip_repr, &repr)))
} else {
Ok(None)
Expand Down

0 comments on commit a27da3a

Please sign in to comment.