On Tue, 20 Sep 2011 14:14:04 +0400 Stanislav Kinsbursky <skinsbursky@xxxxxxxxxxxxx> wrote: > 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. > Yes, I think that nfs4_callback_version4 should also have vs_hidden set. Currently, it's trying to unregister the service from the portmapper on shutdown even though it's not registering it. Basically, any service that sets up its sockets with SVC_SOCK_ANONYMOUS should also have vs_hidden set on all versions. -- Jeff Layton <jlayton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html