Skip to content

SUNRPC: pass network namespace context to sockaddr construction routines

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. v14 patches 8 repliesSuperseded

Changes in v2 from the cover letter

1) Rebased on up-to-date state ("devel" head).
2) patches change logs updated

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4SUNRPC: parametrize rpc_parse_scope_id() by network contextnet/sunrpc/addr.c+5 -40 replies
2/4SUNRPC: parametrize rpc_pton6() by network contextnet/sunrpc/addr.c+4 -40 replies
3/4SUNRPC: parametrize rpc_pton() by network contextfs/nfs/dns_resolve.c fs/nfs/nfs4filelayoutdev.c fs/nfs/nfs4namespace.c +5 more+13 -120 replies
4/4SUNRPC: parametrize rpc_uaddr2sockaddr() by network contextfs/nfsd/nfs4state.c include/linux/sunrpc/clnt.h net/sunrpc/addr.c +1 more+8 -60 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: pass network namespace context to sockaddr construction routines

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) patches change logs updated

This is another precursor patch set aimed to remove hard-coded "init_net" reference from SUNRPC sockaddr convertion and construction routines.

The following series consists of:

---

Stanislav Kinsbursky (4):
SUNRPC: parametrize rpc_parse_scope_id() by network context
SUNRPC: parametrize rpc_pton6() by network context
SUNRPC: parametrize rpc_pton() by network context
SUNRPC: parametrize rpc_uaddr2sockaddr() by network context

 fs/nfs/dns_resolve.c        |    4 ++--
 fs/nfs/nfs4filelayoutdev.c  |    2 +-
 fs/nfs/nfs4namespace.c      |    2 +-
 fs/nfs/super.c              |    4 ++--
 fs/nfsd/nfs4state.c         |    2 +-
 fs/nfsd/nfsctl.c            |    2 +-
 include/linux/sunrpc/clnt.h |    4 ++--
 net/sunrpc/addr.c           |   26 +++++++++++++++-----------
 net/sunrpc/rpcb_clnt.c      |    2 +-
 net/sunrpc/svcauth_unix.c   |    2 +-
 10 files changed, 27 insertions(+), 23 deletions(-)
Signature · 1 line
Signature