Skip to content

Clean ups and bug fixes for 2.6.30

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest23 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/23SUNRPC: Fix return type of svc_addr_len()include/linux/sunrpc/svc_xprt.h net/sunrpc/xprtrdma/svc_rdma_transport.c+16 -30 replies
2/23SUNRPC: Clean up static inline functions in svc_xprt.hinclude/linux/sunrpc/svc_xprt.h+26 -200 replies
3/23SUNRPC: Clean up svc_find_xprt() calling sequenceinclude/linux/sunrpc/svc_xprt.h net/sunrpc/svc_xprt.c+15 -70 replies
4/23NFSD: Refactor transport removal out of __write_ports()fs/nfsd/nfsctl.c+29 -240 replies
5/23NFSD: Refactor transport addition out of __write_ports()fs/nfsd/nfsctl.c+28 -210 replies
6/23NFSD: Refactor portlist socket closing into a helperfs/nfsd/nfsctl.c+24 -120 replies
7/23NFSD: Refactor socket creation out of __write_ports()fs/nfsd/nfsctl.c+34 -300 replies
8/23NFSD: Note an additional requirement when passing TCP sockets to portlistfs/nfsd/nfsctl.c+3 -10 replies
9/23NFSD: Finish refactoring __write_ports()fs/nfsd/nfsctl.c+13 -70 replies
10/23NFSD: move lockd_up() before svc_addsock()fs/nfsd/nfsctl.c+10 -93 replies
11/23NFSD: Prevent a buffer overflow in svc_xprt_names()fs/nfsd/nfsctl.c include/linux/sunrpc/svc_xprt.h net/sunrpc/svc_xprt.c+41 -190 replies
12/23SUNRPC: pass buffer size to svc_addsock()fs/nfsd/nfsctl.c include/linux/sunrpc/svcsock.h net/sunrpc/svcsock.c+16 -50 replies
13/23SUNRPC: pass buffer size to svc_sock_names()fs/nfsd/nfsctl.c include/linux/sunrpc/svcsock.h net/sunrpc/svcsock.c+22 -40 replies
14/23SUNRPC: Switch one_sock_name() to use snprintf()net/sunrpc/svcsock.c+18 -70 replies
15/23SUNRPC: Support PF_INET6 in one_sock_name()net/sunrpc/svcsock.c+7 -00 replies
16/23SUNRPC: Clean up one_sock_name()net/sunrpc/svcsock.c+11 -100 replies
17/23NFS: Move NFS client's IP address parser to nfs_common/fs/nfs/internal.h fs/nfs/nfs4namespace.c fs/nfs/super.c +3 more+184 -1233 replies
18/23NFSD: Support IPv6 addresses in write_failover_ip()fs/nfsd/nfsctl.c+8 -140 replies
19/23NFSD: Prevent buffer overflow in write_threads()fs/nfsd/nfsctl.c+5 -40 replies
20/23NFSD: Prevent buffer overflow in write_versions()fs/nfsd/nfsctl.c+18 -80 replies
21/23NFSD: Prevent buffer overflow in write_maxblksize()fs/nfsd/nfsctl.c+4 -10 replies
22/23NFSD: Prevent buffer overflow in write_leasetime()fs/nfsd/nfsctl.c+3 -20 replies
23/23NFSD: Prevent buffer overflow in write_recoverydir()fs/nfsd/nfsctl.c+3 -20 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/23] Clean ups and bug fixes for 2.6.30

Hi Bruce-

These patches are ready for consideration for 2.6.30. They've seen only very light testing. Many of these you've seen before.

---

Chuck Lever (23):
NFSD: Prevent buffer overflow in write_recoverydir()
NFSD: Prevent buffer overflow in write_leasetime()
NFSD: Prevent buffer overflow in write_maxblksize()
NFSD: Prevent buffer overflow in write_versions()
NFSD: Prevent buffer overflow in write_threads()
NFSD: Support IPv6 addresses in write_failover_ip()
NFS: Move NFS client's IP address parser to nfs_common/
SUNRPC: Clean up one_sock_name()
SUNRPC: Support PF_INET6 in one_sock_name()
SUNRPC: Switch one_sock_name() to use snprintf()
SUNRPC: pass buffer size to svc_sock_names()
SUNRPC: pass buffer size to svc_addsock()
NFSD: Prevent a buffer overflow in svc_xprt_names()
NFSD: move lockd_up() before svc_addsock()
NFSD: Finish refactoring __write_ports()
NFSD: Note an additional requirement when passing TCP sockets to portlist
NFSD: Refactor socket creation out of __write_ports()
NFSD: Refactor portlist socket closing into a helper
NFSD: Refactor transport addition out of __write_ports()
NFSD: Refactor transport removal out of __write_ports()
SUNRPC: Clean up svc_find_xprt() calling sequence
SUNRPC: Clean up static inline functions in svc_xprt.h
SUNRPC: Fix return type of svc_addr_len()

 fs/nfs/internal.h                        |    3 
 fs/nfs/nfs4namespace.c                   |    2 
 fs/nfs/super.c                           |  121 ------------
 fs/nfs_common/Makefile                   |    1 
 fs/nfs_common/nfs_addr_parse.c           |  151 +++++++++++++++
 fs/nfsd/nfsctl.c                         |  298 +++++++++++++++++-------------
 include/linux/nfs_addr_parse.h           |   29 +++
 include/linux/sunrpc/svc_xprt.h          |   54 +++--
 include/linux/sunrpc/svcsock.h           |    7 +
 net/sunrpc/svc_xprt.c                    |   75 +++++---
 net/sunrpc/svcsock.c                     |   80 ++++++--
 net/sunrpc/xprtrdma/svc_rdma_transport.c |   16 +-
 12 files changed, 521 insertions(+), 316 deletions(-)
 create mode 100644 fs/nfs_common/nfs_addr_parse.c
 create mode 100644 include/linux/nfs_addr_parse.h
Signature · 1 line
Chuck Lever