[PATCH net-next] rxrpc: rxgk: Fix some reference count leaks
David Howells
dhowells at redhat.com
Thu Apr 24 05:26:35 PDT 2025
Dan Carpenter <dan.carpenter at linaro.org> wrote:
> These paths should call rxgk_put(gk) but they don't. In the
> rxgk_construct_response() function the "goto error;" will free the
> "response" skb as well calling rxgk_put() so that's a bonus.
>
> Fixes: 9d1d2b59341f ("rxrpc: rxgk: Implement the yfs-rxgk security class (GSSAPI)")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
Acked-by: David Howells <dhowells at redhat.com>
More information about the linux-afs
mailing list