Skip to content

Remaining IPv6 patches for statd

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24libnsm.a: Add RPC construction helper functionssupport/include/nsm.h support/nsm/Makefile.am support/nsm/rpc.c+560 -10 replies
2/24sm-notify: Replace RPC codeutils/statd/sm-notify.c+66 -1220 replies
3/24statd: Update rmtcall.cutils/statd/notlist.h utils/statd/rmtcall.c+47 -1380 replies
4/24sm-notify: factor socket creation out of notify()utils/statd/sm-notify.c+77 -600 replies
5/24sm-notify: Support creating a PF_INET6 socket in smn_create_socket()utils/statd/sm-notify.c+76 -50 replies
6/24sm-notify: IPv6 support in reserved port binding in smn_create_socket()utils/statd/sm-notify.c+28 -10 replies
7/24sm-notify: Use getaddrinfo(3) to create bind address in smn_create_socket()utils/statd/sm-notify.c+51 -310 replies
8/24sm-notify: Support IPv6 DNS lookups in smn_lookuputils/statd/sm-notify.c+12 -70 replies
9/24nfs-utils: Collect socket address helpers into one locationsupport/include/nfsrpc.h support/include/sockaddr.h support/nfs/getport.c +4 more+264 -820 replies
10/24statd: Introduce statd version of matchhostname()utils/statd/Makefile.am utils/statd/callback.c utils/statd/hostname.c +3 more+129 -120 replies
11/24statd: add nsm_present_address() APIutils/statd/hostname.c utils/statd/statd.h+66 -00 replies
12/24statd: add IPv6 support in sm_notify_1_svc()utils/statd/callback.c+62 -70 replies
13/24statd: Support IPv6 is caller_is_localhost()utils/statd/monitor.c+18 -110 replies
14/24statd: Support IPv6 in sm_simu_crash_1_svcutils/statd/simu.c+19 -160 replies
15/24sm-notify: Save mon_name and my_name stringsutils/statd/sm-notify.c+17 -50 replies
16/24libnsm.a: Factor atomic write code out of nsm_get_state()support/nsm/file.c+89 -450 replies
17/24libnsm.a: Add support for multiple lines in monitor record filessupport/include/nsm.h support/nsm/file.c utils/statd/monitor.c +1 more+162 -160 replies
18/24statd: Add API to canonicalize mon_namesutils/statd/hostname.c utils/statd/statd.h+103 -00 replies
19/24statd: Support IPv6 in sm_mon_1_svc()utils/statd/monitor.c+9 -130 replies
20/24statd: Support IPv6 in sm_stat_1_svc()utils/statd/stat.c+8 -50 replies
21/24statd: Remove NL_ADDR() macroutils/statd/monitor.c utils/statd/notlist.c utils/statd/notlist.h +1 more+15 -200 replies
22/24libnsm.a: retain CAP_NET_BIND when dropping privilegesaclocal/libcap.m4 configure.ac support/nsm/file.c +1 more+60 -30 replies
23/24statd: Support TI-RPC statd listenersupport/include/rpcmisc.h support/nfs/Makefile.am support/nfs/svc_create.c +1 more+291 -90 replies
24/24statd: update rpc.statd(8) and sm-notify(8) to reflect IPv6 supportutils/statd/sm-notify.man utils/statd/statd.man+641 -2740 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/24] Remaining IPv6 patches for statd

The Fedora 13 feature freeze is next week, and RHEL 6 beta is coming up in just a month or two. Because both of these releases should have at least client-side NFS/IPv6 support, we've decided to accelerate the submission of nfs-utils IPv6 patches.

This patch set introduces basic IPv6 support to statd and sm-notify. Functionality when IPv6 and TI-RPC are disabled should be unchanged, except that monitor record files can now contain more than one line.

---

Chuck Lever (24):
statd: update rpc.statd(8) and sm-notify(8) to reflect IPv6 support
statd: Support TI-RPC statd listener
libnsm.a: retain CAP_NET_BIND when dropping privileges
statd: Remove NL_ADDR() macro
statd: Support IPv6 in sm_stat_1_svc()
statd: Support IPv6 in sm_mon_1_svc()
statd: Add API to canonicalize mon_names
libnsm.a: Add support for multiple lines in monitor record files libnsm.a: Factor atomic write code out of nsm_get_state()
sm-notify: Save mon_name and my_name strings
statd: Support IPv6 in sm_simu_crash_1_svc
statd: Support IPv6 is caller_is_localhost()
statd: add IPv6 support in sm_notify_1_svc()
statd: add nsm_present_address() API
statd: Introduce statd version of matchhostname()
nfs-utils: Collect socket address helpers into one location
sm-notify: Support IPv6 DNS lookups in smn_lookup
sm-notify: Use getaddrinfo(3) to create bind address in smn_create_socket()
sm-notify: IPv6 support in reserved port binding in smn_create_socket()
sm-notify: Support creating a PF_INET6 socket in smn_create_socket()
sm-notify: factor socket creation out of notify()
statd: Update rmtcall.c
sm-notify: Replace RPC code
libnsm.a: Add RPC construction helper functions

 aclocal/libcap.m4          |   15 +
 configure.ac               |    3 
 support/include/nfsrpc.h   |   12 -
 support/include/nsm.h      |   31 ++-
 support/include/rpcmisc.h  |    7 -
 support/include/sockaddr.h |  237 ++++++++++++++++++++
 support/nfs/Makefile.am    |    3 
 support/nfs/getport.c      |   21 +-
 support/nfs/rpc_socket.c   |   55 +----
 support/nfs/svc_create.c   |  252 +++++++++++++++++++++
 support/nsm/Makefile.am    |    2 
 support/nsm/file.c         |  336 +++++++++++++++++++++++-----
 support/nsm/rpc.c          |  534 ++++++++++++++++++++++++++++++++++++++++++++
 utils/mount/network.c      |   13 -
 utils/mount/stropts.c      |    7 -
 utils/statd/Makefile.am    |    9 -
 utils/statd/callback.c     |   74 +++++-
 utils/statd/hostname.c     |  284 +++++++++++++++++++++++
 utils/statd/monitor.c      |   68 +++---
 utils/statd/notlist.c      |    5 
 utils/statd/notlist.h      |    6 
 utils/statd/rmtcall.c      |  197 ++++------------
 utils/statd/simu.c         |   35 ++-
 utils/statd/sm-notify.c    |  496 ++++++++++++++++++++++++-----------------
 utils/statd/sm-notify.man  |  407 +++++++++++++++++++++++-----------
 utils/statd/stat.c         |   13 +
 utils/statd/statd.c        |   38 +++
 utils/statd/statd.h        |    7 -
 utils/statd/statd.man      |  508 ++++++++++++++++++++++++++++++------------
 29 files changed, 2831 insertions(+), 844 deletions(-)
 create mode 100644 aclocal/libcap.m4
 create mode 100644 support/include/sockaddr.h
 create mode 100644 support/nfs/svc_create.c
 create mode 100644 support/nsm/rpc.c
 create mode 100644 utils/statd/hostname.c
Signature · 1 line
Signature