Skip to content
Commit 9804f172 authored by Al Viro's avatar Al Viro Committed by Sasha Levin
Browse files

rpc_pipefs: fix double-dput()

[ Upstream commit 4a3877c4

 ]

if we ever hit rpc_gssd_dummy_depopulate() dentry passed to
it has refcount equal to 1.  __rpc_rmpipe() drops it and
dput() done after that hits an already freed dentry.

Cc: stable@kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarSasha Levin <alexander.levin@microsoft.com>
parent 26361574
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