Skip to content

RFC svc: gnb review cleanup for transport switch

Tom Tucker linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3svc: Change sockaddr to sockaddr_storage in svc_create_xprtnet/sunrpc/svcsock.c+4 -30 replies
2/3svc: Fix bugs in svc_find_xprtfs/lockd/svc.c net/sunrpc/svc_xprt.c+18 -120 replies
3/3knfsd: Modify write_ports to use svc_find_xprt servicefs/nfsd/nfsctl.c net/sunrpc/svc_xprt.c+34 -310 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC, PATCH 0/3] svc: gnb review cleanup for transport switch

This patchset implements cleanup that is primarily driven by Greg Bank's review of the transport switch. A summary follows:

- Fix the svc_create_xprt to properly allocate the temporary sockaddr storage necessary for IPv6.

- Fix the svc_find_xprt service to lock the sv_permsocks list

- Fix the svc_find_xprt service to handle the address family correctly when matching the port number on IPv6 connections.

Thanks Greg.

Other changes include:

- Use the svc_find_xprt service to support adding and removing knfsd transports by writing strings to the /proc/fs/nfs/portlist file.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs