]> git.baikalelectronics.ru Git - kernel.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)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 22 May 2014 19:57:22 +0000 (15:57 -0400)
commit6e2ea71d61f9f43c87becfefd38f9ec1a5922fca
treedf7f2e7d6254ea61c17b48650e38246f2b1ccac0
parenteb1305dcd98ee439749247deb043c35d8e2b2ed8
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