]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rxrpc: Fix rxrpc_rotate_tx_rotate() to check there's something to rotate
authorDavid Howells <dhowells@redhat.com>
Wed, 24 Jun 2026 16:38:18 +0000 (17:38 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 25 Jun 2026 17:07:19 +0000 (10:07 -0700)
commita5462da5a349fc7f17ad5ebd899380260d03e7ed
tree63fd1d888a8838f33a08704f65b47154b192590a
parent4bdb9e471f5b1ac9cbe4add5de7ff085a0ec303c
rxrpc: Fix rxrpc_rotate_tx_rotate() to check there's something to rotate

Fix rxrpc_rotate_tx_rotate() to check that there's something in the
transmission buffer to be rotated before it attempts to rotate anything.

Fixes: b341a0263b1b ("rxrpc: Implement progressive transmission queue struct")
Link: https://sashiko.dev/#/patchset/20260618134802.2477777-1-dhowells%40redhat.com
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: Jeffrey Altman <jaltman@auristor.com>
cc: Simon Horman <horms@kernel.org>
cc: linux-afs@lists.infradead.org
cc: stable@kernel.org
Link: https://patch.msgid.link/20260624163819.3017002-12-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/rxrpc/input.c