]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Fix ack.bufferSize to be 0 when generating an ack
authorDavid Howells <dhowells@redhat.com>
Wed, 7 Sep 2022 18:17:29 +0000 (19:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:02 +0000 (11:41 +0100)
commit5df1a8f59d7ca3d40a11f51ab7f6c4e6dfcef528
tree4d24443c72ede6aacb138db0d31c5077f9ad300f
parent06486382d0258a90e2f40fdc2f84362b0c87047e
rxrpc: Fix ack.bufferSize to be 0 when generating an ack

[ Upstream commit 8889a711f9b4dcf4dd1330fa493081beebd118c9 ]

ack.bufferSize should be set to 0 when generating an ack.

Fixes: 5ff602858d22 ("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>
net/rxrpc/output.c