SUNRPC: new svc_bind() routine introduced
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Wed, 2 May 2012 12:08:38 +0000 (16:08 +0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Jun 2012 00:29:39 +0000 (20:29 -0400)
This new routine is responsible for service registration in a specified
network context.

The idea is to separate service creation from per-net operations.

Note also: since registering service with svc_bind() can fail, the
service will be destroyed and during destruction it will try to
unregister itself from rpcbind. In this case unregistration has to be
skipped.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>

No differences found