mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 21:03:32 +00:00
rxrpc: Fix ack.bufferSize to be 0 when generating an ack
[ Upstream commit8889a711f9
] ack.bufferSize should be set to 0 when generating an ack. Fixes:8d94aa381d
("rxrpc: Calls shouldn't hold socket refs") Reported-by: Jeffrey Altman <jaltman@auristor.com> Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
5ef8bf0df1
commit
55e822212e
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ static size_t rxrpc_fill_out_ack(struct rxrpc_connection *conn,
|
|||
*_hard_ack = hard_ack;
|
||||
*_top = top;
|
||||
|
||||
pkt->ack.bufferSpace = htons(8);
|
||||
pkt->ack.bufferSpace = htons(0);
|
||||
pkt->ack.maxSkew = htons(0);
|
||||
pkt->ack.firstPacket = htonl(hard_ack + 1);
|
||||
pkt->ack.previousPacket = htonl(call->ackr_highest_seq);
|
||||
|
|
Loading…
Reference in a new issue