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)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 22 May 2014 19:57:22 +0000 (15:57 -0400)
commitc789102c20bbbdda6831a273e046715be9d6af79
treedf7f2e7d6254ea61c17b48650e38246f2b1ccac0
parent16e4d93f6de7063800f3f5e68f064b0ff8fae9b7
SUNRPC: Fix a module reference leak in svc_handle_xprt

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

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc_xprt.c