Skip to content

SUNRPC: register services with per-net rpcbind

Stanislav Kinsbursky linux-nfs lkml netdev 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v17 patches 0 repliesSuperseded

Changes in v2 from the cover letter

1) Rebased on up-to-date state ("devel" head).
2) 3 patches from previous series:
a) [1/7] "SUNRPC: create rpcbind client in passed network namespace context"
b) [2/7] "SUNRPC: register rpcbind programs in passed network namespase context"
c) [4/7] "SUNRPC: parametrize local rpcbind clients creation with net ns" moved to series:
[PATCH v5 0/6] SUNRPC: rcbind clients virtualization

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4SUNRPC: use proper network namespace in rpcbind RPCBPROC_GETADDR procedurenet/sunrpc/rpcb_clnt.c+2 -10 replies
2/4SUNRPC: pass network namespace to service registering routinesinclude/linux/sunrpc/svc.h net/sunrpc/svc.c net/sunrpc/svcsock.c+26 -210 replies
3/4SUNRPC: register service on creation in current network namespacenet/sunrpc/svc.c+5 -40 replies
4/4SUNRPC: unregister service on creation in current network namespacefs/nfsd/nfssvc.c include/linux/sunrpc/svc.h net/sunrpc/svc.c+14 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] SUNRPC: register services with per-net rpcbind

This patch-set was created in context of clone of git branch:
git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git.
head: devel

v2:
1) Rebased on up-to-date state ("devel" head).
2) 3 patches from previous series:
a) [1/7] "SUNRPC: create rpcbind client in passed network namespace context"
b) [2/7] "SUNRPC: register rpcbind programs in passed network namespase context"
c) [4/7] "SUNRPC: parametrize local rpcbind clients creation with net ns" moved to series:
[PATCH v5 0/6] SUNRPC: rcbind clients virtualization

This patch set makes service registered with per-net rpcbind and required for making Lockd and NFSd services able to handle requests from and to different network namespaces.

The following series consists of:

---

Stanislav Kinsbursky (4):
SUNRPC: use proper network namespace in rpcbind RPCBPROC_GETADDR procedure
SUNRPC: pass network namespace to service registering routines
SUNRPC: register service on creation in current network namespace
SUNRPC: unregister service on creation in current network namespace

 fs/nfsd/nfssvc.c           |    4 +--
 include/linux/sunrpc/svc.h |   11 ++++----
 net/sunrpc/rpcb_clnt.c     |    3 +-
 net/sunrpc/svc.c           |   61 ++++++++++++++++++++++++--------------------
 net/sunrpc/svcsock.c       |    3 +-
 5 files changed, 45 insertions(+), 37 deletions(-)
Signature · 1 line
Signature