summaryrefslogtreecommitdiff
path: root/net/rxrpc/ar-peer.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2011-10-25 11:17:08 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-10-25 11:18:42 (GMT)
commite40f5e29ef0909ecba1d759cc930efb7a9a7d935 (patch)
tree204316f20d01c6e0fadd172f9752798b9f60a779 /net/rxrpc/ar-peer.c
parentd99085605cd245d8f24858e9d0b06013e13aa044 (diff)
downloadlinux-fsl-qoriq-e40f5e29ef0909ecba1d759cc930efb7a9a7d935.tar.xz
SUNRPC: setup rpcbind clients if service requires it
New function ("svc_uses_rpcbind") will be used to detect, that new service will send portmapper register calls. For such services we will create rpcbind clients and remove all stale portmap registrations. Also, svc_rpcb_cleanup() will be set as sv_shutdown callback for such services in case of this field wasn't initialized earlier. This will allow to destroy rpcbind clients when no other users of them left. Note: Currently, any creating service will be detected as portmap user. Probably, this is wrong. But now it depends on program versions "vs_hidden" flag. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/rxrpc/ar-peer.c')
0 files changed, 0 insertions, 0 deletions