Skip to content
Commit 19881eba authored by David Howells's avatar David Howells Committed by Greg Kroah-Hartman
Browse files

afs: Fix key ref leak in afs_put_operation()

[ Upstream commit ba8e4207 ]

The afs_put_operation() function needs to put the reference to the key
that's authenticating the operation.

Fixes: e49c7b2f

 ("afs: Build an abstraction around an "operation" concept")
Reported-by: default avatarDave Botsch <botsch@cnf.cornell.edu>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f35bb842
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment