]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
rxrpc: Fix double unlock in rxrpc_recvmsg()
authorDavid Howells <dhowells@redhat.com>
Wed, 24 Jun 2026 16:38:10 +0000 (17:38 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 25 Jun 2026 17:07:18 +0000 (10:07 -0700)
Fix a double unlock in rxrpc_recvmsg() when dealing with OOB messages.

Fixes: 5800b1cf3fd8 ("rxrpc: Allow CHALLENGEs to the passed to the app for a RESPONSE")
Link: https://sashiko.dev/#/patchset/20260609140911.838677-1-dhowells%40redhat.com
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@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-4-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/rxrpc/recvmsg.c

index 82614cbdb60f5e5fcdd860c2929e58db132e99a8..39a03684432d9d55120df18938632469e3e363da 100644 (file)
@@ -471,7 +471,7 @@ try_again:
                release_sock(&rx->sk);
                if (ret == -EAGAIN)
                        goto try_again;
-               goto error_no_call;
+               goto error_trace;
        }
 
        /* Find the next call and dequeue it if we're not just peeking.  If we