]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
SUNRPC: Fix a module reference leak in svc_handle_xprt
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 18 May 2014 18:05:22 +0000 (14:05 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jul 2014 01:59:10 +0000 (18:59 -0700)
commitfe5320465fe885510598a9e4be72189d5a82f605
tree03fc15aae844b2cd9800e38a412560ccf40d599e
parent7022c10a56e5a2f094aec8ee364ece22773746e3
SUNRPC: Fix a module reference leak in svc_handle_xprt

commit c789102c20bbbdda6831a273e046715be9d6af79 upstream.

If the accept() call fails, we need to put the module reference.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sunrpc/svc_xprt.c