]> 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)
committerJiri Slaby <jslaby@suse.cz>
Thu, 29 Sep 2016 09:14:22 +0000 (11:14 +0200)
commit55377ee2f5c04bc79c22cec747daf687540eb35f
treebf9fbc9bd406cb1d77a26f8e6b161ac7291508ad
parent78d6a2c928a0cbf0d38f42dc366adf66ca141cbe
NFSv4.x: Fix a refcount leak in nfs_callback_up_net

commit 98b0f80c2396224bbbed81792b526e6c72ba9efa upstream.

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

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/nfs/callback.c