aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2008-09-25 11:56:57 -0400
committerJ. Bruce Fields <[email protected]>2008-09-29 18:13:40 -0400
commitf6fb3f6f591b50fa4f51962ad06ee0d8782e1bc8 (patch)
tree2a50459b61ffdecac33bf99f41a24ce521994f1d /net/unix/sysctl_net_unix.c
parent9d548b9c955c0709d1229d21d0bc14afa6b356de (diff)
SUNRPC: Fix up svc_unregister()
With the new rpcbind code, a PMAP_UNSET will not have any effect on services registered via rpcbind v3 or v4. Implement a version of svc_unregister() that uses an RPCB_UNSET with an empty netid string to make sure we have cleared *all* entries for a kernel RPC service when shutting down, or before starting a fresh instance of the service. Use the new version only when CONFIG_SUNRPC_REGISTER_V4 is enabled; otherwise, the legacy PMAP version is used to ensure complete backwards-compatibility with the Linux portmapper daemon. Signed-off-by: Chuck Lever <[email protected]> Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions