]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rxrpc: Fix error handling in rxgk_extract_token()
authorDavid Howells <dhowells@redhat.com>
Thu, 23 Apr 2026 20:09:08 +0000 (21:09 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 23 Apr 2026 21:29:16 +0000 (14:29 -0700)
commit3476c8bb960f48e49355d6f93fb7673211e0163f
tree80b84988dd3fc7088fbdd41e48dd0dde1bbd1da8
parent0422e7a4883f25101903f3e8105c0808aa5f4ce9
rxrpc: Fix error handling in rxgk_extract_token()

Fix a missing bit of error handling in rxgk_extract_token(): in the event
that rxgk_decrypt_skb() returns -ENOMEM, it should just return that rather
than continuing on (for anything else, it generates an abort).

Fixes: 64863f4ca494 ("rxrpc: Fix unhandled errors in rxgk_verify_packet_integrity()")
Closes: https://sashiko.dev/#/patchset/20260422161438.2593376-4-dhowells@redhat.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/20260423200909.3049438-4-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/rxrpc/rxgk_app.c