Skip to content

Commit

Permalink
tcp: Fix comment to tcp_sock_consume()
Browse files Browse the repository at this point in the history
Note that tcp_sock_consume() doesn't update ACK sequence counters
anymore.

Fixes: cc6d828 ("tcp: Reset ACK_FROM_TAP_DUE flag only as needed, update timer")
Signed-off-by: Stefano Brivio <[email protected]>
Reviewed-by: David Gibson <[email protected]>
  • Loading branch information
sbrivio-rh committed Oct 4, 2023
1 parent 117b474 commit feaeb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2099,7 +2099,7 @@ static void tcp_conn_from_tap(struct ctx *c,
}

/**
* tcp_sock_consume() - Consume (discard) data from buffer, update ACK sequence
* tcp_sock_consume() - Consume (discard) data from buffer
* @conn: Connection pointer
* @ack_seq: ACK sequence, host order
*
Expand Down

0 comments on commit feaeb49

Please sign in to comment.