]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4.x: Fix a refcount leak in nfs_callback_up_net
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 29 Aug 2016 15:15:36 +0000 (11:15 -0400)
committerSasha Levin <alexander.levin@verizon.com>
Thu, 15 Sep 2016 22:53:30 +0000 (18:53 -0400)
commit99663cdecfa076d80d3a1f4bbfb9b3fc13c0a09a
tree98d3a71039e4fd718e7931e1b09f770994348570
parentf6b02c5ad3417caff26f3a5b41cf81d152df569c
NFSv4.x: Fix a refcount leak in nfs_callback_up_net

[ Upstream commit 98b0f80c2396224bbbed81792b526e6c72ba9efa ]

On error, the callers expect us to return without bumping
nn->cb_users[].

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org # v3.7+
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
fs/nfs/callback.c