NFSD/SUNRPC: Check rpc_xprt out of xs_setup_bc_tcp
authorKinglong Mee <kinglongmee@gmail.com>
Mon, 24 Mar 2014 03:59:46 +0000 (11:59 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 30 Mar 2014 14:47:36 +0000 (10:47 -0400)
commitd531c008d7d9713456abe3d265fc577bba2e1cef
treeeea8a68155e98ba647ba006d24df0efd3ecf3a49
parent83ddfebdd21da669918d7f9854fd592858625f4b
NFSD/SUNRPC: Check rpc_xprt out of xs_setup_bc_tcp

Besides checking rpc_xprt out of xs_setup_bc_tcp,
increase it's reference (it's important).

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c