diff options
author | David Howells <dhowells@redhat.com> | 2024-12-04 07:47:02 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-09 13:48:31 -0800 |
commit | 547a9acd4c5e95190c6c93a6d8628c5b8b74a4d6 (patch) | |
tree | 92331aee507868be3ef9a8a7eb455f83c44f13c7 /rust/helpers/build_bug.c | |
parent | a2ea9a9072607c2fd6442bd1ffb4dbdbf882aed7 (diff) |
rxrpc: Tidy up the ACK parsing a bit
Tidy up the ACK parsing in the following ways:
(1) Put the serial number of the ACK packet into the rxrpc_ack_summary
struct and access it from there whilst parsing an ACK.
(2) Be consistent about using "if (summary.acked_serial)" rather than "if
(summary.acked_serial != 0)".
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions